ci: DL3020
This commit is contained in:
parent
25e7e11b14
commit
6e35747fd3
2 changed files with 2 additions and 3 deletions
|
@ -19,8 +19,7 @@ steps:
|
||||||
- name: hadolint
|
- name: hadolint
|
||||||
image: hadolint/hadolint:latest-debian
|
image: hadolint/hadolint:latest-debian
|
||||||
commands:
|
commands:
|
||||||
- hadolint --version
|
- hadolint Dockerfile
|
||||||
- hadolint Dockerfile
|
|
||||||
|
|
||||||
- name: docker_build_and_push_selfhosted
|
- name: docker_build_and_push_selfhosted
|
||||||
image: thegeeklab/drone-docker-buildx:23
|
image: thegeeklab/drone-docker-buildx:23
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
FROM alpine AS builder
|
FROM alpine AS builder
|
||||||
ARG MDNS_REPEATER_VERSION=local
|
ARG MDNS_REPEATER_VERSION=local
|
||||||
ADD mdns-repeater.c mdns-repeater.c
|
COPY mdns-repeater.c mdns-repeater.c
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
apk add --no-cache build-base && \
|
apk add --no-cache build-base && \
|
||||||
gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\"
|
gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\"
|
||||||
|
|
Reference in a new issue