Skip to content

Commit

Permalink
Improved build pipeline by adding pruning untagged images
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterZydra committed Jan 14, 2024
1 parent 820c1c3 commit bd6f1fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,12 @@ jobs:
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

# Remove untagged images to keep container registry clean
- name: Prune untagged images
uses: vlaurin/action-ghcr-prune@v0.5.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
user: masterzydra
container: bio-manager
prune-untagged: true

0 comments on commit bd6f1fd

Please # to comment.