Skip to content

feat: update to Go 1.22 #27

feat: update to Go 1.22

feat: update to Go 1.22 #27

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
should_build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- "1.21"
- "1.22"
steps:
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build image
uses: docker/build-push-action@v5
with:
build-args: |
GO_VERSION=${{ matrix.go-version }}
cache-from: type=gha
platforms: linux/amd64 # GitHub only offers AMD64 codespaces
pull: true