From ca9658f6390381cf9082ce6f1ddefff5f306c54e Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 25 Nov 2022 08:40:15 +0100 Subject: [PATCH] wip --- .woodpecker/.next.yml | 1 + Dockerfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.woodpecker/.next.yml b/.woodpecker/.next.yml index f962f93..18eb7bf 100644 --- a/.woodpecker/.next.yml +++ b/.woodpecker/.next.yml @@ -17,6 +17,7 @@ pipeline: from_secret: gitea_passwd build_args: - VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}} + - TAG=${CI_COMMIT_TAG} when: event: pull_request diff --git a/Dockerfile b/Dockerfile index 1c5a933..9be55b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ LABEL org.opencontainers.image.vendor="OCram85" LABEL org.opencontainers.image.title="Arkanum" LABEL org.opencontainers.image.description="Code-Server container optimized for daily use." LABEL org.opencontainers.image.licenses="AGPL-3.0" +ARG TAG +LABEL org.opencontainers.image.version="${TAG}" LABEL org.opencontainers.image.url="https://gitea.ocram85.com/CodeServer/arkanum" LABEL org.opencontainers.image.source="https://gitea.ocram85.com/CodeServer/arkanum.git"