update
This commit is contained in:
1 parent
0aeeaafca0
commit
cbd123e7e2
1 file changed
+5
-5
@@ -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
|
||||||
@@ -238,7 +238,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# This should be the path to your ansible-gitea repository
|
# This should be the path to your ansible-gitea repository
|
||||||
repository: ${{ github.repository_owner }}/ansible-gitea
|
repository: devops/ansible-gitea
|
||||||
path: .ansible
|
path: .ansible
|
||||||
|
|
||||||
- name: Set up Ansible and Dependencies
|
- name: Set up Ansible and Dependencies
|
||||||
|
|||||||
Reference in new issue
Block a user