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