Compare commits

..

1 Commits

Author SHA1 Message Date
Joona Hoikkala
4e5a69e5fb
Fix errors in auto-released docker images (#399) 2026-02-05 18:09:31 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
builds: builds:
- binary: acme-dns - binary: acme-dns
env: env:
- CGO_ENABLED=1 - CGO_ENABLED=0
goos: goos:
- linux - linux
goarch: goarch:

View File

@ -1,12 +1,12 @@
FROM golang:alpine AS builder FROM golang:alpine AS builder
LABEL maintainer="joona@kuori.org" LABEL maintainer="joona@kuori.org"
RUN apk add --update gcc musl-dev git RUN apk add --update git
ENV GOPATH /tmp/buildcache ENV GOPATH /tmp/buildcache
RUN git clone https://github.com/joohoi/acme-dns /tmp/acme-dns RUN git clone https://github.com/joohoi/acme-dns /tmp/acme-dns
WORKDIR /tmp/acme-dns WORKDIR /tmp/acme-dns
RUN CGO_ENABLED=1 go build RUN CGO_ENABLED=0 go build
FROM alpine:latest FROM alpine:latest