Skip to content

Commit

Permalink
chore(build): bump Go to latest patch release (#93)
Browse files Browse the repository at this point in the history
* chore(deps): bump Go to latest patch release

* fix: bump go in dockerfile-distroless.ci
  • Loading branch information
s0up4200 authored Oct 20, 2024
1 parent b120fb8 commit f84f5d9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
env:
REGISTRY: ghcr.io
REGISTRY_IMAGE: ghcr.io/${{ github.repository }}
GO_VERSION: '1.23'

permissions:
contents: write
Expand All @@ -30,7 +31,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
go-version: ${{ env.GO_VERSION }}
cache: true

- name: Test
Expand All @@ -55,7 +56,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
go-version: ${{ env.GO_VERSION }}
cache: true

- name: Run GoReleaser build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build app
FROM golang:1.21-alpine3.19 AS app-builder
FROM golang:1.23-alpine3.20 AS app-builder

ARG VERSION=dev
ARG REVISION=dev
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-distroless.ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build app
FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.19 AS app-builder
FROM --platform=$BUILDPLATFORM golang:1.23-alpine3.20 AS app-builder
#RUN apk add --no-cache git tzdata

ENV SERVICE=omegabrr
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build app
FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.19 AS app-builder
FROM --platform=$BUILDPLATFORM golang:1.23-alpine3.20 AS app-builder
RUN apk add --no-cache git tzdata

ENV SERVICE=omegabrr
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/autobrr/omegabrr

go 1.21
go 1.23.2

require (
github.com/blang/semver v3.5.1+incompatible
Expand Down

0 comments on commit f84f5d9

Please sign in to comment.