test BUILD_DATE generation
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-01-22 10:12:50 +01:00
parent cc4791053e
commit 1c79d3c4b9
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
2 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ local PipelineBuildContainer(arch='amd64') = {
username: { from_secret: 'docker_username' }, username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' }, password: { from_secret: 'docker_password' },
build_args: [ build_args: [
'BUILD_DATE=$$(date --rfc-3339=seconds)', 'BUILD_DATE=$(date --rfc-3339=seconds)',
], ],
}, },
when: { when: {

View File

@ -58,7 +58,7 @@ steps:
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
build_args: build_args:
- BUILD_DATE=$$(date --rfc-3339=seconds) - BUILD_DATE=$(date --rfc-3339=seconds)
dockerfile: Dockerfile.amd64 dockerfile: Dockerfile.amd64
password: password:
from_secret: docker_password from_secret: docker_password
@ -138,7 +138,7 @@ steps:
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
build_args: build_args:
- BUILD_DATE=$$(date --rfc-3339=seconds) - BUILD_DATE=$(date --rfc-3339=seconds)
dockerfile: Dockerfile.arm64 dockerfile: Dockerfile.arm64
password: password:
from_secret: docker_password from_secret: docker_password
@ -218,7 +218,7 @@ steps:
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
build_args: build_args:
- BUILD_DATE=$$(date --rfc-3339=seconds) - BUILD_DATE=$(date --rfc-3339=seconds)
dockerfile: Dockerfile.arm dockerfile: Dockerfile.arm
password: password:
from_secret: docker_password from_secret: docker_password
@ -352,6 +352,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 22ccba5c75de7c2c8bbccd66f0c7c2550d6d4edf6610bded6adc8d8668e19605 hmac: febb88c7bfa032ad940f78861ccf99bca894565aadf926913cc132f7fa9932d7
... ...