Use date-based tags

This commit is contained in:
Leonard Ehrenfried 2023-11-08 10:10:52 +01:00
parent 92fdecf307
commit 04272dbb8f
No known key found for this signature in database
GPG key ID: 91B9733022C70C1C

View file

@ -33,6 +33,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value={{date 'YYYY-MM-DDTHH-mm'}}
type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v5