set image labels (#24)
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/push/next Pipeline was successful Details
ci/woodpecker/push/renovate Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details

#### 📖 Summary

- fix image label missing in in build plugin

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] CI pipeline tests
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Reviewed-on: #24
This commit is contained in:
OCram85 2022-11-22 14:56:09 +01:00
parent 7692b04908
commit be2426705b
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 && \