Skip to content

Commit

Permalink
fix: use tag_name for deployment image
Browse files Browse the repository at this point in the history
  • Loading branch information
SebRollen committed Oct 29, 2021
1 parent e1134e3 commit ea99d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: risk-manager
DOCKER_BUILDKIT: 1
IMAGE_TAG: ${{ github.event.release.name }}
IMAGE_TAG: ${{ github.event.release.tag_name }}
run: |
docker build --ssh default -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG

0 comments on commit ea99d60

Please sign in to comment.