We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84fe49c commit 033de69Copy full SHA for 033de69
.github/workflows/deploy.yml
@@ -40,5 +40,5 @@ jobs:
40
ECR_REPOSITORY: 'ssh_bastion'
41
IMAGE_TAG: latest
42
run: |
43
- docker build -t "$ECR_REGISTRY/$ECR_REPOSITORY:latest" -t "$ECR_REGISTRY/$ECR_REPOSITORY:${{ github.sha }}"
+ docker build -t "$ECR_REGISTRY/$ECR_REPOSITORY:latest" -t "$ECR_REGISTRY/$ECR_REPOSITORY:${{ github.sha }}_$(date +%s)"
44
docker push "$ECR_REGISTRY/$ECR_REPOSITORY" --all-tags
0 commit comments