Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Pin Go to 1.17.9, always pull the base image
Browse files Browse the repository at this point in the history
  • Loading branch information
pzduniak committed Apr 28, 2022
1 parent c2cc795 commit 4a4bb1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
ghcr.io/mailgun/gubernator:latest
build-args: |
VERSION=${{ github.event.release.tag_name }}
push: true
pull: true
push: true

# Commit the updated 'version' file
- name: Commit changes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build image
FROM --platform=$BUILDPLATFORM golang:1.17 as build
FROM --platform=$BUILDPLATFORM golang:1.17.9 as build
ARG BUILDPLATFORM
ARG TARGETPLATFORM
# https://github.com/docker/buildx/issues/510#issuecomment-768432329
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-cli
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build image
FROM --platform=$BUILDPLATFORM golang:1.17 as build
FROM --platform=$BUILDPLATFORM golang:1.17.9 as build
ARG BUILDPLATFORM
ARG TARGETPLATFORM
# https://github.com/docker/buildx/issues/510#issuecomment-768432329
Expand Down

0 comments on commit 4a4bb1f

Please sign in to comment.