Remove steps to publish Docker major tag

This commit is contained in:
James M. Greene
2023-06-30 15:47:04 -05:00
committed by GitHub
parent 058068233b
commit cf9c2e10b9
-15
View File
@@ -56,18 +56,3 @@ jobs:
uses: actions/[email protected]
with:
source-tag: ${{ env.TAG_NAME }}
# Login to the GHCR Docker registry
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Update Docker image tag
env:
NEW_TAG: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.update-major-tag.outputs.major-tag }}
SOURCE_TAG: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
run: |
docker buildx imagetools create --tag $NEW_TAG $SOURCE_TAG