Skip to content

Commit

Permalink
ci(gha): use date in image tags for better sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller committed May 18, 2024
1 parent 965d678 commit bf6433d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:
with:
images: ghcr.io/${{ github.repository_owner }}/k8s-pvc-tagger
tags: |
# minimal (short sha). Generates an image tag like `sha-<short-ref>`
type=sha
# generates tags like:
# ghcr.io/planetscale/k8s-pvc-tagger:2024-05-18-e5296f2
type=raw,value={{date 'YYYY-MM-DD'}}-{{sha}}
- name: login to ghcr.io
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
Expand Down

0 comments on commit bf6433d

Please sign in to comment.