diff --git a/.github/actions/docker-build/action.yml b/.github/actions/docker-build/action.yml index 422cfc9..4743325 100644 --- a/.github/actions/docker-build/action.yml +++ b/.github/actions/docker-build/action.yml @@ -52,11 +52,9 @@ runs: tags: | type=semver,enable=true,pattern={{raw}} type=semver,enable=true,pattern={{major}},prefix=v - type=semver,enable=true,pattern=latest type=ref,event=pr,prefix=pr-,enable=true type=ref,event=branch,branch=main,pattern={{raw}} type=ref,event=branch,branch=main,pattern={{major}},prefix=v - type=ref,event=branch,branch=main,pattern=latest - name: Build Docker image uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 with: diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index cf30eb1..f2553b0 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -34,12 +34,6 @@ jobs: run: | cz bump --yes --changelog - VERSION=$(cz version -p) - PINNED_MAJOR=v${VERSION%%.*} - git tag -d $PINNED_MAJOR || echo "Tag $PINNED_MAJOR does not exist locally." - git push origin --delete $PINNED_MAJOR || echo "Tag $PINNED_MAJOR does not exist on remote." - git tag $PINNED_MAJOR HEAD || echo "Could not add tag $PINNED_MAJOR." - git push origin HEAD:main git push origin --tags