commit d829f25a7e8cc9002ab786f0f12d87afce8e88bf
parent 003c66e0936d8d86a9efc71c577531e4938a29e8
Author: Asher Morgan <asher@ashermorgan.net>
Date: Sun, 13 Sep 2026 15:16:06 -0700
Create latest tag for ghcr.io images
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
@@ -35,6 +35,8 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+ tags: |
+ type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
- name: Build and push Docker image
id: push