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
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:
parent
f15108abb7
commit
8c9758ddd6
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user