[FORGEJO] upgrade alpine 3.18

This commit is contained in:
Earl Warren 2023-05-30 11:47:06 +02:00
parent 80fa6c470d
commit 21d1f3ec88
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@ on:
push: push:
paths: paths:
- go.mod - go.mod
- Dockerfile
- .forgejo/workflows/release.yml - .forgejo/workflows/release.yml
- .forgejo/workflows/integration.yml - .forgejo/workflows/integration.yml

View file

@ -1,5 +1,5 @@
#Build stage #Build stage
FROM golang:1.20-alpine3.17 AS build-env FROM golang:1.20-alpine3.18 AS build-env
RUN apk --no-cache add build-base git RUN apk --no-cache add build-base git
@ -7,7 +7,7 @@ COPY . /srv
WORKDIR /srv WORKDIR /srv
RUN make build RUN make build
FROM alpine:3.17 FROM alpine:3.18
LABEL maintainer="contact@forgejo.org" LABEL maintainer="contact@forgejo.org"
COPY --from=build-env /srv/forgejo-runner /bin/forgejo-runner COPY --from=build-env /srv/forgejo-runner /bin/forgejo-runner