fix labels for docker image
All checks were successful
ci/woodpecker/push/tests Pipeline was successful
All checks were successful
ci/woodpecker/push/tests Pipeline was successful
This commit is contained in:
parent
d40a2cab8f
commit
ec56eca175
4 changed files with 12 additions and 10 deletions
|
@ -30,7 +30,7 @@ pipeline:
|
||||||
dockerfile: docker/Dockerfile.amd64
|
dockerfile: docker/Dockerfile.amd64
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-amd64
|
auto_tag_suffix: linux-amd64
|
||||||
build_args: BUILD_DATE="$(date +%Y-%m-%d_%H:%M)"
|
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
|
||||||
|
|
||||||
# build docker image for arm64
|
# build docker image for arm64
|
||||||
dryrun-build-arm64:
|
dryrun-build-arm64:
|
||||||
|
@ -46,5 +46,5 @@ pipeline:
|
||||||
dockerfile: docker/Dockerfile.arm64
|
dockerfile: docker/Dockerfile.arm64
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm64#
|
auto_tag_suffix: linux-arm64#
|
||||||
build_args: BUILD_DATE="$(date +%Y-%m-%d_%H:%M)"
|
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ pipeline:
|
||||||
dockerfile: docker/Dockerfile.amd64
|
dockerfile: docker/Dockerfile.amd64
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-amd64
|
auto_tag_suffix: linux-amd64
|
||||||
build_args: BUILD_DATE="$(date +%Y-%m-%d_%H:%M)"
|
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
|
||||||
username:
|
username:
|
||||||
from_secret: cr-dhub-username
|
from_secret: cr-dhub-username
|
||||||
password:
|
password:
|
||||||
|
@ -48,7 +48,7 @@ pipeline:
|
||||||
dockerfile: docker/Dockerfile.arm64
|
dockerfile: docker/Dockerfile.arm64
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm64
|
auto_tag_suffix: linux-arm64
|
||||||
build_args: BUILD_DATE="$(date +%Y-%m-%d_%H:%M)"
|
build_args: BUILD_VERSION=${CI_COMMIT_TAG}
|
||||||
username:
|
username:
|
||||||
from_secret: cr-dhub-username
|
from_secret: cr-dhub-username
|
||||||
password:
|
password:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
FROM cr.44net.ch/baseimages/debian-s6:1.3.5
|
FROM cr.44net.ch/baseimages/debian-s6:1.3.5
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ENV MDLP_VERSION=2.1.5
|
ARG BUILD_VERSION
|
||||||
ARG BUILD_DATE
|
ENV MDLP_VERSION=${BUILD_VERSION}
|
||||||
LABEL build_version="Version: ${MDLP_VERSION} - Build-date: ${BUILD_DATE}"
|
LABEL version="${BUILD_VERSION}"
|
||||||
LABEL maintainer="Ivan Schaller"
|
LABEL maintainer="Ivan Schaller"
|
||||||
|
LABEL description="A CLI manga downloader"
|
||||||
|
|
||||||
|
|
||||||
# install packages
|
# install packages
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
FROM cr.44net.ch/baseimages/debian-s6:1.3.5
|
FROM cr.44net.ch/baseimages/debian-s6:1.3.5
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ENV MDLP_VERSION=2.1.5
|
ARG BUILD_VERSION
|
||||||
ARG BUILD_DATE
|
ENV MDLP_VERSION=${BUILD_VERSION}
|
||||||
LABEL build_version="Version: ${MDLP_VERSION} - Build-date: ${BUILD_DATE}"
|
LABEL version="${BUILD_VERSION}"
|
||||||
LABEL maintainer="Ivan Schaller"
|
LABEL maintainer="Ivan Schaller"
|
||||||
|
LABEL description="A CLI manga downloader"
|
||||||
|
|
||||||
|
|
||||||
# install packages
|
# install packages
|
||||||
|
|
Loading…
Reference in a new issue