Fix ci
Some checks failed
Deploy and Push Docker Image / BuildAndPush (push) Failing after 33s

This commit is contained in:
2025-06-19 14:04:38 +02:00
parent 64f955c4a1
commit 381b8fa9ee
2 changed files with 4 additions and 4 deletions

View File

@ -24,5 +24,5 @@ jobs:
push: true push: true
platforms: linux/arm64,linux/amd64 platforms: linux/arm64,linux/amd64
tags: | tags: |
gitea.henriburau.de/ace966/WeeWooWebhook:latest gitea.henriburau.de/ace966/weewoowebhook:latest
gitea.henriburau.de/ace966/WeeWooWebhook:${{ gitea.run_id }} gitea.henriburau.de/ace966/weewoowebhook:${{ gitea.run_id }}

View File

@ -7,9 +7,9 @@ WORKDIR /app
COPY . . COPY . .
# Build the Go binary statically # Build the Go binary statically
RUN CGO_ENABLED=0 GOOS=linux go build -o weewoowebhook /app/cmd/wee_woo_webhook/main.go RUN go build -o weewoowebhook /app/cmd/wee_woo_webhook/main.go
FROM scratch FROM alpine
# Copy statically built binary from the builder # Copy statically built binary from the builder
COPY --from=builder /app/weewoowebhook /weewoowebhook COPY --from=builder /app/weewoowebhook /weewoowebhook