Skip to content

Commit

Permalink
Update to push all tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mykelalvis committed Nov 18, 2024
1 parent d3d6497 commit 25ebe01
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,5 @@ jobs:
IMAGE_TAG: ${{ github.sha }}
VERSION: ${{ steps.create-version.outputs.version }}
run: |
docker build -t $REGISTRY/$REPOSITORY:${VERSION} .
docker push $REGISTRY/$REPOSITORY:${VERSION}
docker tag $REGISTRY/$REPOSITORY:$IMAGE_TAG $REGISTRY/$REPOSITORY:$IMAGE_TAG
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG
docker build -t $REGISTRY/$REPOSITORY:${VERSION} -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .
docker push $REGISTRY/$REPOSITORY --all-tags

0 comments on commit 25ebe01

Please sign in to comment.