Skip to content

Build: Use go 1.22

Build: Use go 1.22 #44

Workflow file for this run

name: Build
permissions:
contents: read
id-token: write
on:
pull_request:
push:
branches:
- main
paths:
- go.mod
- go.sum
- "**/*.go"
- Dockerfile
- .github/workflows/build.yml
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set Docker Buildx up
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- name: Build Docker image
uses: grafana/shared-workflows/actions/build-push-to-dockerhub@main
with:
push: ${{ github.event_name != 'pull_request' }}
tags: |
"latest"
repository: "grafana/wait-for-github"