Merge pull request #95 from actions/no-docker-major
Remove steps to publish Docker major tag
This commit is contained in:
@@ -56,18 +56,3 @@ jobs:
|
|||||||
uses: actions/[email protected]
|
uses: actions/[email protected]
|
||||||
with:
|
with:
|
||||||
source-tag: ${{ env.TAG_NAME }}
|
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user