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
|
||||
# ============================================================================
|
||||
prepare:
|
||||
runs-on: alpine-latest
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
node_version: ${{ steps.detect.outputs.NODE_VERSION }}
|
||||
framework: ${{ steps.detect.outputs.FRAMEWORK }}
|
||||
@@ -144,7 +144,7 @@ jobs:
|
||||
# JOB 2: GENERATE DOCKERFILE
|
||||
# ============================================================================
|
||||
generate-dockerfile:
|
||||
runs-on: alpine-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: prepare
|
||||
outputs:
|
||||
dockerfile_path: steps.generate.outputs.dockerfile_path
|
||||
@@ -170,7 +170,7 @@ jobs:
|
||||
# JOB 3: BUILD AND PUSH DOCKER IMAGE
|
||||
# ============================================================================
|
||||
build:
|
||||
runs-on: alpine-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [prepare, generate-dockerfile]
|
||||
# Grant permissions for the workflow to request an OIDC token.
|
||||
permissions:
|
||||
@@ -228,7 +228,7 @@ jobs:
|
||||
# JOB 4: DEPLOY WITH ANSIBLE
|
||||
# ============================================================================
|
||||
deploy:
|
||||
runs-on: alpine-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [prepare, build] # This job runs only after 'prepare' and 'build' jobs succeed.
|
||||
steps:
|
||||
- name: Checkout Application Code
|
||||
|
||||
Reference in new issue
Block a user