Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to go version 1.21 #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BUILDER_IMAGE=quay.io/geonet/golang:1.16-alpine
ARG RUNNER_IMAGE=quay.io/geonet/alpine:3.10
ARG BUILDER_IMAGE=ghcr.io/geonet/base-images/go:1.21
ARG RUNNER_IMAGE=ghcr.io/geonet/base-images/alpine:3.18
ARG RUN_USER=nobody
# Only support image based on AlpineLinux
FROM ${BUILDER_IMAGE} as builder
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/geonet/alpine:latest
FROM ghcr.io/geonet/base-images/alpine:3.18

RUN apk add --update ca-certificates tzdata && \
rm -rf /var/cache/apk/*
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ if [ $# -eq 0 ]; then
fi

# code will be compiled in this container
BUILDER_IMAGE='quay.io/geonet/golang:1.16-alpine'
RUNNER_IMAGE='quay.io/geonet/alpine:3.10'
BUILDER_IMAGE='ghcr.io/geonet/base-images/go:1.21'
RUNNER_IMAGE='ghcr.io/geonet/base-images/alpine:3.18'

VERSION='git-'$(git rev-parse --short HEAD)

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/GeoNet/pagerduty-jobs

go 1.20
go 1.21

require github.com/PagerDuty/go-pagerduty v1.3.0

Expand Down