fix: update image creation date label syntax in release workflow

This commit is contained in:
Jan Rundshagen 2025-03-30 09:20:41 +02:00
parent fc75ade94f
commit a4ff4cc291
No known key found for this signature in database
GPG key ID: D39ECE260D6616C7

View file

@ -69,7 +69,7 @@ jobs:
with: with:
images: beatkind/watchtower images: beatkind/watchtower
labels: | labels: |
org.opencontainers.image.created={{commit_date 'YYYY-MM-DDTHH:mm:ss.SSS[Z]'}} org.opencontainers.image.created={{date 'YYYY-MM-DDTHH:mm:ss.SSS[Z]'}}
org.opencontainers.image.authors=${{github.actor}} org.opencontainers.image.authors=${{github.actor}}
org.opencontainers.image.source=${{github.repository}} org.opencontainers.image.source=${{github.repository}}
org.opencontainers.image.documentation=https://watchtower.devcdn.net org.opencontainers.image.documentation=https://watchtower.devcdn.net
@ -120,7 +120,7 @@ jobs:
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: | labels: |
org.opencontainers.image.created={{commit_date 'YYYY-MM-DDTHH:mm:ss.SSS[Z]'}} org.opencontainers.image.created={{date 'YYYY-MM-DDTHH:mm:ss.SSS[Z]'}}
org.opencontainers.image.authors=${{github.actor}} org.opencontainers.image.authors=${{github.actor}}
org.opencontainers.image.source=${{github.repository}} org.opencontainers.image.source=${{github.repository}}
org.opencontainers.image.documentation=https://watchtower.devcdn.net org.opencontainers.image.documentation=https://watchtower.devcdn.net