More updates to starter workflows
This commit is contained in:
+3
-5
@@ -1,6 +1,5 @@
|
|||||||
# This workflow will build and push a new container image to Amazon ECR,
|
# This workflow will build and push a new container image to Amazon ECR,
|
||||||
# and then will deploy a new task definition to Amazon ECS, on every push
|
# and then will deploy a new task definition to Amazon ECS, whenever a release is created
|
||||||
# to the master branch.
|
|
||||||
#
|
#
|
||||||
# To use this workflow, you will need to complete the following set-up steps:
|
# To use this workflow, you will need to complete the following set-up steps:
|
||||||
#
|
#
|
||||||
@@ -25,9 +24,8 @@
|
|||||||
# and best practices on handling the access key credentials.
|
# and best practices on handling the access key credentials.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
branches:
|
types: [created]
|
||||||
- master
|
|
||||||
|
|
||||||
name: Deploy to Amazon ECS
|
name: Deploy to Amazon ECS
|
||||||
|
|
||||||
|
|||||||
+3
-4
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build and push a node.js application to an Azure Web App on every push to the master branch.
|
# This workflow will build and push a node.js application to an Azure Web App whenever a release is created.
|
||||||
#
|
#
|
||||||
# To configure this workflow:
|
# To configure this workflow:
|
||||||
#
|
#
|
||||||
@@ -9,9 +9,8 @@
|
|||||||
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
|
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
|
||||||
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
|
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
branches:
|
types: [created]
|
||||||
- master
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
|
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
docker build . --file Dockerfile
|
docker build . --file Dockerfile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Push image to GitHub Package Registry.
|
# Push image to GitHub Packages.
|
||||||
# See also https://docs.docker.com/docker-hub/builds/
|
# See also https://docs.docker.com/docker-hub/builds/
|
||||||
push:
|
push:
|
||||||
# Ensure test job passes before pushing image.
|
# Ensure test job passes before pushing image.
|
||||||
+3
-4
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE.
|
# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE whenever a release is created
|
||||||
#
|
#
|
||||||
# To configure this workflow:
|
# To configure this workflow:
|
||||||
#
|
#
|
||||||
@@ -11,9 +11,8 @@
|
|||||||
name: Build and Deploy to GKE
|
name: Build and Deploy to GKE
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
branches:
|
types: [created]
|
||||||
- master
|
|
||||||
|
|
||||||
# Environment variables available to all jobs and steps in this workflow
|
# Environment variables available to all jobs and steps in this workflow
|
||||||
env:
|
env:
|
||||||
|
|||||||
+6
-6
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Docker push",
|
"name": "Publish Docker Container",
|
||||||
"description": "Build, test and push Docker image to GitHub Package Registry.",
|
"description": "Build, test and push Docker image to GitHub Packages.",
|
||||||
"iconName": "docker",
|
"iconName": "docker",
|
||||||
"categories": ["Dockerfile"]
|
"categories": ["Dockerfile"]
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "Gradle",
|
"name": "Java with Gradle",
|
||||||
"description": "Build and test a Java project using a Gradle wrapper script.",
|
"description": "Build and test a Java project using a Gradle wrapper script.",
|
||||||
"iconName": "gradle",
|
"iconName": "gradle",
|
||||||
"categories": ["Java", "Gradle"]
|
"categories": ["Java", "Gradle"]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "Maven",
|
"name": "Java with Maven",
|
||||||
"description": "Build and test a Java project with Apache Maven.",
|
"description": "Build and test a Java project with Apache Maven.",
|
||||||
"iconName": "maven",
|
"iconName": "maven",
|
||||||
"categories": ["Java", "Maven"]
|
"categories": ["Java", "Maven"]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "Node.js Package",
|
"name": "Publish Node.js Package",
|
||||||
"description": "Publishes a Node.js package to npm and GitHub Packages.",
|
"description": "Publishes a Node.js package to npm and GitHub Packages.",
|
||||||
"iconName": "node-package-transparent",
|
"iconName": "node-package-transparent",
|
||||||
"categories": ["JavaScript", "SDLC"]
|
"categories": ["JavaScript", "SDLC"]
|
||||||
|
|||||||
Reference in New Issue
Block a user