Skip to content

Merge pull request #257 from norwoodj/dependabot/github_actions/docke… #240

Merge pull request #257 from norwoodj/dependabot/github_actions/docke…

Merge pull request #257 from norwoodj/dependabot/github_actions/docke… #240

Workflow file for this run

name: Build
on:
push:
branches:
- "*"
tags-ignore:
- "*"
pull_request:
types: [opened, reopened]
jobs:
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
args: release --snapshot --skip=sign
- name: Cleanup
if: always()
run: rm -f ${HOME}/.docker/config.json