Fix test runner
This commit is contained in:
parent
f37f710bdf
commit
4e4615c87c
3 changed files with 7 additions and 16 deletions
.github/workflows
3
.github/workflows/docker.clean.yml
vendored
3
.github/workflows/docker.clean.yml
vendored
|
@ -26,6 +26,9 @@ jobs:
|
|||
dry-run: true
|
||||
prune-tags-regexes: |
|
||||
^build-${{ github.sha }}$
|
||||
keep-tags-regexes: |
|
||||
^v
|
||||
^latest$
|
||||
cleanup-untagged-images:
|
||||
name: Delete untagged images
|
||||
runs-on: ubuntu-latest
|
||||
|
|
18
.github/workflows/docker.validate.yml
vendored
18
.github/workflows/docker.validate.yml
vendored
|
@ -20,11 +20,7 @@ jobs:
|
|||
name: Run Install Report
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: docker login ghcr.io -u ${{ github.repository_owner }} -p ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: "Pull Candidate Image"
|
||||
run: docker pull ${{ env.CANDIDATE_IMAGE }}
|
||||
- name: "Run Install Report"
|
||||
|
@ -33,11 +29,7 @@ jobs:
|
|||
name: Run Dive
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: docker login ghcr.io -u ${{ github.repository_owner }} -p ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: "Pull Candidate Image"
|
||||
run: docker pull ${{ env.CANDIDATE_IMAGE }}
|
||||
- name: "Generate Dive Config"
|
||||
|
@ -58,11 +50,7 @@ jobs:
|
|||
name: Run Trivy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: docker login ghcr.io -u ${{ github.repository_owner }} -p ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: "Pull Candidate Image"
|
||||
run: docker pull ${{ env.CANDIDATE_IMAGE }}
|
||||
# Inspect the container for security vulnerabilities
|
||||
|
|
2
.github/workflows/tag.release.yml
vendored
2
.github/workflows/tag.release.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
BUILD_DATE=${{ env.ATOM }}
|
||||
platforms: ${{ github.actor != 'nektos/act' && env.PLATFORMS || 'linux/amd64' }}
|
||||
pull: true
|
||||
push: false
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.TAG_IMAGE_GHCR }}
|
||||
${{ env.TAG_IMAGE_DOCKER }}
|
||||
|
|
Loading…
Reference in a new issue