test adding build date
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-01-22 12:16:01 +01:00
parent a3bf6e23f4
commit cf7e423614
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 3 additions and 12 deletions

View File

@ -64,9 +64,6 @@ local PipelineBuildContainer(arch='amd64') = {
repo: 'thegeeklab/${DRONE_REPO_NAME}',
username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' },
build_args: [
'BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}',
],
},
when: {
ref: ['refs/heads/main', 'refs/tags/**'],

View File

@ -57,8 +57,6 @@ steps:
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx
settings:
build_args:
- BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}
dockerfile: Dockerfile.amd64
password:
from_secret: docker_password
@ -137,8 +135,6 @@ steps:
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx
settings:
build_args:
- BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}
dockerfile: Dockerfile.arm64
password:
from_secret: docker_password
@ -217,8 +213,6 @@ steps:
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx
settings:
build_args:
- BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}
dockerfile: Dockerfile.arm
password:
from_secret: docker_password
@ -352,6 +346,6 @@ depends_on:
---
kind: signature
hmac: c61dd5d460978c3cb776064613c2bd8fcb60b7161d37d4c388859b2a7cd38d8e
hmac: b62b48151b2d28bd01c00b5cd43d37bfa681c75a235a9718eb2d5d93f0aa4e2a
...

View File

@ -3,7 +3,7 @@ FROM amd64/alpine:3.13@sha256:d0710affa17fad5f466a70159cc458227bd25d4afb39514ef6
ARG GOMPLATE_VERSION
ARG SUPERCRONIC_VERSION
ARG URL_PARSER_VERSION
ARG BUILD_DATE
ARG DOCKER_IMAGE_CREATED
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
@ -11,7 +11,7 @@ LABEL org.opencontainers.image.title="alpine"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/alpine"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/alpine"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/alpine"
LABEL org.opencontainers.image.created="${BUILD_DATE}"
LABEL org.opencontainers.image.created="${DOCKER_IMAGE_CREATED}"
# renovate: datasource=github-releases depName=hairyhenderson/gomplate
ENV GOMPLATE_VERSION="${GOMPLATE_VERSION:-v3.8.0}"