diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5b95308..3a25055 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -17,7 +17,7 @@ env: jobs: # Stage 1: Lint Dockerfile lint: - runs-on: docker + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 @@ -30,7 +30,7 @@ jobs: # Stage 2: Build image build: - runs-on: docker + runs-on: ubuntu-latest needs: lint outputs: image_tag: ${{ steps.version.outputs.VERSION }} @@ -68,7 +68,7 @@ jobs: # Stage 3: Integration tests test: - runs-on: docker + runs-on: ubuntu-latest needs: build steps: - name: Checkout repository @@ -94,7 +94,7 @@ jobs: # Stage 4: Security scan security-scan: - runs-on: docker + runs-on: ubuntu-latest needs: build steps: - name: Download image artifact @@ -133,7 +133,7 @@ jobs: # Stage 5: Push to registry push: - runs-on: docker + runs-on: ubuntu-latest needs: [test, security-scan] if: github.event_name != 'pull_request' outputs: @@ -186,7 +186,7 @@ jobs: # Stage 6: Update CD pipeline (trigger deployment) update-cd: - runs-on: docker + runs-on: ubuntu-latest needs: push if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') steps: