Skip to content

Commit

Permalink
Remove steps to publish Docker major tag
Browse files Browse the repository at this point in the history
  • Loading branch information
James M. Greene authored and GitHub committed Jun 30, 2023
1 parent 0580682 commit cf9c2e1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cf9c2e1

Please sign in to comment.