fix: fix build version in ci
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2022-05-20 15:26:49 +02:00
parent db4edb3554
commit 2490b779eb
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 14 deletions

View File

@ -32,6 +32,8 @@ steps:
commands:
- apt-get -qq update && apt-get install -yqq --no-install-recommends make
- make build
environment:
BUILD_VERSION: ${DRONE_TAG%-*}
- name: verify
image: dart:stable
@ -44,15 +46,9 @@ steps:
- name: dryrun
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
dry_run: true
password:
from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/pull/**
@ -92,8 +88,6 @@ steps:
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: docker_password
@ -110,8 +104,6 @@ steps:
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: quay_password
@ -217,6 +209,6 @@ depends_on:
---
kind: signature
hmac: c395bc7653458c3fa8c3bd62cb9f615d3af8c53e7c929b1ea90b6c3a71738e6e
hmac: 8746fe501b443c4f93f766414ef030b10c28cdc0cc19ca5984601c4bb5f98bf6
...

View File

@ -7,13 +7,12 @@ LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/link-validato
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/link-validator"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/link-validator"
ARG BUILD_VERSION
ARG CADDY_VERSION
ARG WAIT_FOR_VERSION
ARG CONTAINER_LIBRARY
# renovate: datasource=github-releases depName=caddyserver/caddy
ENV CADDY_VERSION="${BUILD_VERSION:-v2.5.1}"
ENV CADDY_VERSION="${CADDY_VERSION:-v2.5.1}"
# renovate: datasource=github-releases depName=thegeeklab/wait-for
ENV WAIT_FOR_VERSION="${WAIT_FOR_VERSION:-v0.2.0}"
# renovate: datasource=git-tags depName=https://gitea.rknet.org/docker/container-library