update
This commit is contained in:
1 parent
0aeeaafca0
commit
9a1bcd4880
1 file changed
+4
-4
@@ -82,7 +82,7 @@ jobs:
|
|||||||
# JOB 1: PREPARE - AUTO-DETECT FRAMEWORK AND SETTINGS
|
# JOB 1: PREPARE - AUTO-DETECT FRAMEWORK AND SETTINGS
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: alpine-latest
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
outputs:
|
||||||
node_version: ${{ steps.detect.outputs.NODE_VERSION }}
|
node_version: ${{ steps.detect.outputs.NODE_VERSION }}
|
||||||
framework: ${{ steps.detect.outputs.FRAMEWORK }}
|
framework: ${{ steps.detect.outputs.FRAMEWORK }}
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
# JOB 2: GENERATE DOCKERFILE
|
# JOB 2: GENERATE DOCKERFILE
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
generate-dockerfile:
|
generate-dockerfile:
|
||||||
runs-on: alpine-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: prepare
|
needs: prepare
|
||||||
outputs:
|
outputs:
|
||||||
dockerfile_path: steps.generate.outputs.dockerfile_path
|
dockerfile_path: steps.generate.outputs.dockerfile_path
|
||||||
@@ -170,7 +170,7 @@ jobs:
|
|||||||
# JOB 3: BUILD AND PUSH DOCKER IMAGE
|
# JOB 3: BUILD AND PUSH DOCKER IMAGE
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
build:
|
build:
|
||||||
runs-on: alpine-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: [prepare, generate-dockerfile]
|
needs: [prepare, generate-dockerfile]
|
||||||
# Grant permissions for the workflow to request an OIDC token.
|
# Grant permissions for the workflow to request an OIDC token.
|
||||||
permissions:
|
permissions:
|
||||||
@@ -228,7 +228,7 @@ jobs:
|
|||||||
# JOB 4: DEPLOY WITH ANSIBLE
|
# JOB 4: DEPLOY WITH ANSIBLE
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: alpine-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: [prepare, build] # This job runs only after 'prepare' and 'build' jobs succeed.
|
needs: [prepare, build] # This job runs only after 'prepare' and 'build' jobs succeed.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Application Code
|
- name: Checkout Application Code
|
||||||
|
|||||||
Reference in new issue
Block a user