mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2024-11-24 05:38:10 +03:00
[FORGEJO] use alpine 3.18
Refs: https://github.com/nektos/act/issues/1908 Bump Docker dependency See https://code.forgejo.org/forgejo/act/pulls/9 for more info. Use forked act change branch Bump version Use forgejo fork v1.9.0 Revert #50 Now that https://code.forgejo.org/forgejo/runner/pulls/64 has been merged we should be good to go. Remove pinned go version in test workflow Bump Go version to 1.21
This commit is contained in:
parent
182939943f
commit
d4eb913533
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
# pin because of https://github.com/nektos/act/issues/1908
|
go-version: '1.21'
|
||||||
go-version: 1.20.5
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#Build stage
|
#Build stage
|
||||||
FROM golang:1.20-alpine3.17 AS build-env
|
FROM golang:1.21-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
|
||||||
|
|
Loading…
Reference in a new issue