Skip to content

Commit 7b4a82a

Browse files
Merge pull request 0xPolygon#691 from 0xPolygon/Swader-patch-1
Add run number to image tag
2 parents 6858014 + d12606f commit 7b4a82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dev_deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
id: build-image
5555
env:
5656
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
57-
IMAGE_TAG: ${{ github.sha }}
57+
IMAGE_TAG: ${{ github.sha }}-${{ github.run_number }}
5858
run: |
5959
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f .github/assets/Dockerfile.nginx .
6060
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG

0 commit comments

Comments
 (0)