Dockerfile Bugfix
release-tag / release-image (push) Has been cancelled

This commit is contained in:
2026-07-24 10:24:39 +02:00
parent 30ba365b39
commit 981615f677
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
# syntax=docker/dockerfile:1.7
ARG GO_IMAGE=golang:1.26-alpine
ARG GO_IMAGE=golang:1.23-alpine
FROM ${GO_IMAGE} AS build
WORKDIR /src
RUN apk add --no-cache ca-certificates tzdata
COPY go.mod ./
COPY .env.example ./.env.example
COPY third_party ./third_party
COPY cmd ./cmd
COPY internal ./internal
@@ -12,7 +13,7 @@ RUN CGO_ENABLED=0 GOOS=linux go test ./... && \
CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/ai-disclosure ./cmd/server
FROM scratch
ARG VERSION=2.0.2
ARG VERSION=2.0.3
ARG REVISION=unknown
ARG CREATED=unknown
LABEL org.opencontainers.image.title="AI Disclosure Standard" \
+3 -2
View File
@@ -1,9 +1,10 @@
# syntax=docker/dockerfile:1.7
ARG GO_IMAGE=golang:1.26-alpine
ARG GO_IMAGE=golang:1.23-alpine
FROM ${GO_IMAGE} AS build
WORKDIR /src
RUN apk add --no-cache ca-certificates tzdata
COPY go.mod ./
COPY .env.example ./.env.example
COPY third_party ./third_party
COPY cmd ./cmd
COPY internal ./internal
@@ -12,7 +13,7 @@ RUN CGO_ENABLED=0 GOOS=linux go test ./... && \
CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/ai-disclosure ./cmd/server
FROM scratch
ARG VERSION=2.0.2
ARG VERSION=2.0.3
ARG REVISION=unknown
ARG CREATED=unknown
LABEL org.opencontainers.image.title="AI Disclosure Standard Bulk" \