Adjust GitHub workflow
This commit is contained in:
parent
9ed04670cd
commit
410592e933
2 changed files with 5 additions and 4 deletions
5
.github/workflows/docker.yaml
vendored
5
.github/workflows/docker.yaml
vendored
|
@ -1,8 +1,9 @@
|
|||
name: Create and publish a Docker image
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM golang:1.22 AS build-stage
|
||||
FROM golang:1.22-alpine AS build-stage
|
||||
WORKDIR /app
|
||||
|
||||
# Copy embeded dirs
|
||||
|
@ -14,7 +14,7 @@ RUN go mod download
|
|||
COPY *.go ./
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /hibiscus
|
||||
|
||||
FROM alpine:3.19.1 AS deploy-stage
|
||||
FROM alpine:3.20 AS deploy-stage
|
||||
WORKDIR /
|
||||
|
||||
# Bring over the executable
|
||||
|
|
Loading…
Reference in a new issue