Merge pull request #95 from actions/no-docker-major

Remove steps to publish Docker major tag
This commit is contained in:
James M. Greene
2023-07-01 23:07:05 -05:00
committed by GitHub
-15
View File
@@ -56,18 +56,3 @@ jobs:
uses: actions/publish-action@v0.2.2
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