From 27be5b905248a82f37439bf1c7cbb13fb3c6e8e2 Mon Sep 17 00:00:00 2001 From: scrungus Date: Wed, 10 May 2023 16:06:20 +0100 Subject: [PATCH] tag all images' --- .github/workflows/build-and-push-images.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-push-images.yml b/.github/workflows/build-and-push-images.yml index 2e6968d..d2409a8 100644 --- a/.github/workflows/build-and-push-images.yml +++ b/.github/workflows/build-and-push-images.yml @@ -42,6 +42,8 @@ jobs: type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} # all other branches get the dev tag type=raw,value=dev,enable=${{ github.ref != format('refs/heads/{0}', 'master') }} + # on tag creation, tag images with tag contents + type=ref,enable=true,priority=600,prefix=,suffix=,event=tag - name: Build and push Docker image uses: docker/build-push-action@v4