test adding build date
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a3bf6e23f4
commit
cf7e423614
@ -64,9 +64,6 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
repo: 'thegeeklab/${DRONE_REPO_NAME}',
|
repo: 'thegeeklab/${DRONE_REPO_NAME}',
|
||||||
username: { from_secret: 'docker_username' },
|
username: { from_secret: 'docker_username' },
|
||||||
password: { from_secret: 'docker_password' },
|
password: { from_secret: 'docker_password' },
|
||||||
build_args: [
|
|
||||||
'BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
when: {
|
when: {
|
||||||
ref: ['refs/heads/main', 'refs/tags/**'],
|
ref: ['refs/heads/main', 'refs/tags/**'],
|
||||||
|
@ -57,8 +57,6 @@ steps:
|
|||||||
- name: publish-dockerhub
|
- name: publish-dockerhub
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
build_args:
|
|
||||||
- BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}
|
|
||||||
dockerfile: Dockerfile.amd64
|
dockerfile: Dockerfile.amd64
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -137,8 +135,6 @@ steps:
|
|||||||
- name: publish-dockerhub
|
- name: publish-dockerhub
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
build_args:
|
|
||||||
- BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}
|
|
||||||
dockerfile: Dockerfile.arm64
|
dockerfile: Dockerfile.arm64
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -217,8 +213,6 @@ steps:
|
|||||||
- name: publish-dockerhub
|
- name: publish-dockerhub
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
build_args:
|
|
||||||
- BUILD_DATE=$${DRONE_DOCKER_BUILD_TIME}
|
|
||||||
dockerfile: Dockerfile.arm
|
dockerfile: Dockerfile.arm
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -352,6 +346,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: c61dd5d460978c3cb776064613c2bd8fcb60b7161d37d4c388859b2a7cd38d8e
|
hmac: b62b48151b2d28bd01c00b5cd43d37bfa681c75a235a9718eb2d5d93f0aa4e2a
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -3,7 +3,7 @@ FROM amd64/alpine:3.13@sha256:d0710affa17fad5f466a70159cc458227bd25d4afb39514ef6
|
|||||||
ARG GOMPLATE_VERSION
|
ARG GOMPLATE_VERSION
|
||||||
ARG SUPERCRONIC_VERSION
|
ARG SUPERCRONIC_VERSION
|
||||||
ARG URL_PARSER_VERSION
|
ARG URL_PARSER_VERSION
|
||||||
ARG BUILD_DATE
|
ARG DOCKER_IMAGE_CREATED
|
||||||
|
|
||||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||||
LABEL org.opencontainers.image.authors="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.url="https://gitea.rknet.org/docker/alpine"
|
||||||
LABEL org.opencontainers.image.source="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.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
|
# renovate: datasource=github-releases depName=hairyhenderson/gomplate
|
||||||
ENV GOMPLATE_VERSION="${GOMPLATE_VERSION:-v3.8.0}"
|
ENV GOMPLATE_VERSION="${GOMPLATE_VERSION:-v3.8.0}"
|
||||||
|
Loading…
Reference in New Issue
Block a user