Skip to content

build: go 1.23.1

build: go 1.23.1 #22

Workflow file for this run

name: build-pr
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
run: |
docker buildx build \
--platform linux/arm64/v8,linux/amd64,linux/arm,linux/ppc64le,linux/s390x \
--build-arg GO_VERSION=$(grep -m 1 go go.mod | cut -d\ -f2) \
-t ghcr.io/jimmidyson/configmap-reload:${{ github.event.pull_request.head.sha }} \
.