set image labels #24

Merged
OCram85 merged 8 commits from containerLabels into master 2022-11-22 14:56:10 +01:00
4 changed files with 21 additions and 2 deletions

View File

@ -3,7 +3,7 @@ depends_on:
pipeline:
buildImage:
image: plugins/docker
image: woodpeckerci/plugin-docker-buildx
settings:
registry: gitea.ocram85.com
repo: gitea.ocram85.com/codeserver/arkanum
@ -16,6 +16,8 @@ pipeline:
from_secret: gitea_user
password:
from_secret: gitea_passwd
build_args:
- VERSION="Tag ${CI_COMMIT_TAG} - Branch ${CI_COMMIT_SOURCE_BRANCH} - PR ${CI_COMMIT_PULL_REQUEST}"
when:
event:
- push

View File

@ -15,6 +15,8 @@ pipeline:
from_secret: gitea_user
password:
from_secret: gitea_passwd
build_args:
- VERSION="Tag ${CI_COMMIT_TAG} - Branch ${CI_COMMIT_SOURCE_BRANCH} - PR ${CI_COMMIT_PULL_REQUEST}"
when:
event: pull_request

View File

@ -1,6 +1,6 @@
pipeline:
testDockerfile:
image: plugins/docker
image: woodpeckerci/plugin-docker-buildx
settings:
dry_run: true
registry: gitea.ocram85.com

View File

@ -1,5 +1,20 @@
FROM quay.io/linuxserver.io/code-server:4.8.3
#LABEL build_version=""
LABEL maintainer="OCram85"
ARG VERSION
LABEL build_version="$VERSION"
LABEL org.opencontainers.image.authors="OCram85"
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"
LABEL org.opencontainers.image.url="https://gitea.ocram85.com/CodeServer/arkanum"
LABEL org.opencontainers.image.source="https://gitea.ocram85.com/CodeServer/arkanum.git"
LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServer/arkanum"
RUN \
echo "**** install starship prompt ****" && \
curl -sS https://starship.rs/install.sh | sh -s -- -f && \