Skip to content

Commit

Permalink
Merge pull request #590 from ministryofjustice/dependabot/github_acti…
Browse files Browse the repository at this point in the history
…ons/goreleaser/goreleaser-action-6

build(deps): bump goreleaser/goreleaser-action from 5 to 6
  • Loading branch information
jackstockley89 authored Oct 28, 2024
2 parents ac4c4e0 + 989ee66 commit 31de46f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 ##v4.2.2
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed ##v5.1.0
with:
go-version: " 1.23.x"
id: go

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 ##v6.0.0
with:
version: latest
args: release --rm-dist
Expand All @@ -40,29 +40,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 ##v4.2.2

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf ##v3.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 ##v3.7.1

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 ##v3.3.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Get Tags for Image
id: metadata
uses: docker/metadata-action@v5
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 ##v5.5.1
with:
images: ministryofjustice/cloud-platform-cli
tags: |
type=ref,event=tag
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 ##v6.9.0
with:
context: .
push: true
Expand Down

0 comments on commit 31de46f

Please sign in to comment.