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:
# 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: