From 6f9ce8fac3aa72de7419f4aecc1ed39a2a523a0e Mon Sep 17 00:00:00 2001 From: Ryan Young Date: Sun, 30 Jan 2022 13:45:27 -0800 Subject: [PATCH] build(gh): remove release tag prefix --- .github/workflows/docker-hub.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index c8b1d6e..dc42e39 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -26,10 +26,10 @@ jobs: uses: docker/metadata-action@v3 with: images: yoryan/dsddns - # main tip is tagged "latest"; releases are tagged with "release-" + # main tip is tagged "latest"; releases are tagged "vX.X.X" tags: | type=schedule - type=ref,event=tag,prefix=release- + type=ref,event=tag type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} - name: Login to DockerHub