Skip to content

Commit 70b0908

Browse files
committed
trying to fix sha
1 parent 2443fa1 commit 70b0908

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ jobs:
3535
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
3636
with:
3737
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38+
tags: type=sha,format=long
39+
3840

3941
- name: Build and push Docker image
4042
uses: docker/build-push-action@v6
4143
with:
4244
push: ${{ github.event_name != 'pull_request' }}
43-
tags: "${{ steps.meta.outputs.tags }} ${{ github.sha }}"
45+
tags: "${{ steps.meta.outputs.tags }}"
4446
labels: ${{ steps.meta.outputs.labels }}
4547

4648
deploy-cloudformation:

0 commit comments

Comments
 (0)