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 b1cfb0c commit 753c7caCopy full SHA for 753c7ca
.github/workflows/build-docker-image.yml
@@ -74,12 +74,15 @@ jobs:
74
uses: docker/setup-buildx-action@v3
75
- name: Build
76
uses: docker/build-push-action@v6
77
+ env:
78
+ DATE: $(date +"%Y.%m.%d")
79
with:
80
context: .
81
file: docker/Dockerfile
82
push: true
83
tags: |
84
${{ env.IMAGE_FULL_NAME }}:${{ env.IMAGE_TAG }}
85
+ ${{ env.IMAGE_FULL_NAME }}:${{ env.DATE }}
86
${{ github.event.inputs.image_tag != 'latest' && format('{0}:latest', env.IMAGE_FULL_NAME) || '' }}
87
cache-from: type=gha
88
cache-to: type=gha,mode=max
0 commit comments