From f6763be9f04b3b2447cae4d2a0a3d11e8fd57a4d Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Tue, 2 Feb 2021 10:56:35 +0100 Subject: [PATCH] remove CREATED label --- .drone.star | 3 +-- ocis/docker/Dockerfile.linux.amd64 | 2 -- ocis/docker/Dockerfile.linux.arm | 2 -- ocis/docker/Dockerfile.linux.arm64 | 2 -- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.drone.star b/.drone.star index 293a1e9ae..c76fee787 100644 --- a/.drone.star +++ b/.drone.star @@ -690,8 +690,7 @@ def dockerReleases(ctx): def dockerRelease(ctx, arch): build_args = [ 'REVISION=%s' % (ctx.build.commit), - 'VERSION=%s' % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "latest"), - 'CREATED=""', # TODO: add time in RFC 3339 format + 'VERSION=%s' % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "latest") ] return { diff --git a/ocis/docker/Dockerfile.linux.amd64 b/ocis/docker/Dockerfile.linux.amd64 index 3da328c4d..eadd73049 100644 --- a/ocis/docker/Dockerfile.linux.amd64 +++ b/ocis/docker/Dockerfile.linux.amd64 @@ -1,6 +1,5 @@ FROM amd64/alpine:3.12 -ARG CREATED="" ARG VERSION="" ARG REVISION="" @@ -17,7 +16,6 @@ LABEL maintainer="ownCloud GmbH " \ org.opencontainers.image.description="oCIS - ownCloud Infinite Scale is a modern file-sync and share platform" \ org.opencontainers.image.licenses="Apache-2.0" \ org.opencontainers.image.documentation="https://owncloud.github.io/ocis.git" \ - org.opencontainers.image.created="${CREATED}" \ org.opencontainers.image.url="https://hub.docker.com/r/owncloud/ocis" \ org.opencontainers.image.source="https://github.com/owncloud/ocis" \ org.opencontainers.image.version="${VERSION}" \ diff --git a/ocis/docker/Dockerfile.linux.arm b/ocis/docker/Dockerfile.linux.arm index a64c693b7..3106da2bd 100644 --- a/ocis/docker/Dockerfile.linux.arm +++ b/ocis/docker/Dockerfile.linux.arm @@ -1,6 +1,5 @@ FROM arm32v6/alpine:3.12 -ARG CREATED="" ARG VERSION="" ARG REVISION="" @@ -17,7 +16,6 @@ LABEL maintainer="ownCloud GmbH " \ org.opencontainers.image.description="oCIS - ownCloud Infinite Scale is a modern file-sync and share platform" \ org.opencontainers.image.licenses="Apache-2.0" \ org.opencontainers.image.documentation="https://owncloud.github.io/ocis.git" \ - org.opencontainers.image.created="${CREATED}" \ org.opencontainers.image.url="https://hub.docker.com/r/owncloud/ocis" \ org.opencontainers.image.source="https://github.com/owncloud/ocis" \ org.opencontainers.image.version="${VERSION}" \ diff --git a/ocis/docker/Dockerfile.linux.arm64 b/ocis/docker/Dockerfile.linux.arm64 index f355b2cc4..f10f5b8f5 100644 --- a/ocis/docker/Dockerfile.linux.arm64 +++ b/ocis/docker/Dockerfile.linux.arm64 @@ -1,6 +1,5 @@ FROM arm64v8/alpine:3.12 -ARG CREATED="" ARG VERSION="" ARG REVISION="" @@ -17,7 +16,6 @@ LABEL maintainer="ownCloud GmbH " \ org.opencontainers.image.description="oCIS - ownCloud Infinite Scale is a modern file-sync and share platform" \ org.opencontainers.image.licenses="Apache-2.0" \ org.opencontainers.image.documentation="https://owncloud.github.io/ocis.git" \ - org.opencontainers.image.created="${CREATED}" \ org.opencontainers.image.url="https://hub.docker.com/r/owncloud/ocis" \ org.opencontainers.image.source="https://github.com/owncloud/ocis" \ org.opencontainers.image.version="${VERSION}" \