Rephrase release stage to make it prettier.
This commit is contained in:
parent
b3feff0288
commit
a7353b9373
2 changed files with 15 additions and 7 deletions
.github/workflows
18
.github/workflows/docker.clean.yml
vendored
18
.github/workflows/docker.clean.yml
vendored
|
@ -24,10 +24,18 @@ jobs:
|
|||
with:
|
||||
ghcr_user: ${{ github.repository_owner }}
|
||||
ghcr_token: ${{ secrets.GHCR_TOKEN }}
|
||||
- uses: bots-house/ghcr-delete-image-action@v1.1.0
|
||||
- uses: dataaxiom/ghcr-cleanup-action@v1
|
||||
with:
|
||||
tags: build-${{ github.sha }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
cleanup-untagged-images:
|
||||
name: Delete untagged images
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: benzine-framework/action-setup-docker@main
|
||||
with:
|
||||
ghcr_user: ${{ github.repository_owner }}
|
||||
ghcr_token: ${{ secrets.GHCR_TOKEN }}
|
||||
- uses: dataaxiom/ghcr-cleanup-action@v1
|
||||
with:
|
||||
owner: ${{ github.repository_owner }}
|
||||
#name: ${{ github.event.repository.name }}
|
||||
name: bouncer
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: build-${{ github.sha }}
|
||||
|
|
4
.github/workflows/docker.validate.yml
vendored
4
.github/workflows/docker.validate.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
echo "highestUserWastedPercent: 0.20"
|
||||
} > ${{ github.workspace }}/.dive-ci.yml
|
||||
# Use Dive to inspect the image for junk
|
||||
- name: "Post-Build: Dive"
|
||||
- name: "Dive"
|
||||
uses: yuichielectric/dive-action@0.0.3
|
||||
with:
|
||||
image: ${{ env.CANDIDATE_IMAGE }}
|
||||
|
@ -67,7 +67,7 @@ jobs:
|
|||
run: docker pull ${{ env.CANDIDATE_IMAGE }}
|
||||
# Inspect the container for security vulnerabilities
|
||||
- name: "Post-Build: Trivy"
|
||||
uses: aquasecurity/trivy-action@v0.9.2
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
image-ref: ${{ env.CANDIDATE_IMAGE }}
|
||||
format: table
|
||||
|
|
Loading…
Reference in a new issue