From bef98136c2d778de9578a902aae0be9a4def09b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chu=20V=C4=83n=20H=E1=BA=A3i?= Date: Mon, 8 Dec 2025 13:10:25 +0700 Subject: [PATCH] update --- .gitea/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 8e17f0a..1cf5bed 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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 @@ -152,7 +152,7 @@ jobs: - name: Checkout Ansible Repo for templates uses: actions/checkout@v4 with: - repository: ${{ github.repository_owner }}/ansible-gitea + repository: devops/ansible-gitea path: .ansible - name: Generate Dockerfile @@ -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 @@ -238,7 +238,7 @@ jobs: uses: actions/checkout@v4 with: # This should be the path to your ansible-gitea repository - repository: ${{ github.repository_owner }}/ansible-gitea + repository: devops/ansible-gitea path: .ansible - name: Set up Ansible and Dependencies