Skip to content

Commit

Permalink
ci: add multi tags
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrodrigo19 committed Dec 11, 2024
1 parent 9a5ffa6 commit aaae103
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: latest,$ECR_REGISTRY/${{ inputs.IMAGE_NAME }}:${{ steps.commit.outputs.short }}
tags: |
${{ inputs.ECR_REGISTRY }}/${{ inputs.IMAGE_NAME }}:latest
${{ inputs.ECR_REGISTRY }}/${{ inputs.IMAGE_NAME }}:${{ steps.commit.outputs.short }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=docker,dest=/tmp/docker-image.tar
- name: Upload artifact
Expand Down

0 comments on commit aaae103

Please sign in to comment.