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