diff --git a/.drone.jsonnet b/.drone.jsonnet index dc79649..6b1f805 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -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/**'], diff --git a/.drone.yml b/.drone.yml index 41019db..52245bc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ... diff --git a/Dockerfile.amd64 b/Dockerfile.amd64 index 7fa8e11..c761e29 100644 --- a/Dockerfile.amd64 +++ b/Dockerfile.amd64 @@ -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 " LABEL org.opencontainers.image.authors="Robert Kaussow " @@ -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}"