Change runner label to ubuntu-latest
Some checks failed
CI Pipeline / build (push) Failing after 1m29s
CI Pipeline / test (push) Has been skipped
CI Pipeline / security-scan (push) Has been skipped
CI Pipeline / push (push) Has been skipped
CI Pipeline / update-cd (push) Has been skipped
CI Pipeline / lint (push) Successful in 38s

This commit is contained in:
Patrick de Ruiter 2025-12-25 16:05:58 +01:00
parent f15108abb7
commit 8c9758ddd6
Signed by: pderuiter
GPG Key ID: 5EBA7F21CF583321

View File

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