Skip to content

Commit

Permalink
Update goreleaser cross compiler image
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Aug 9, 2023
1 parent 7bd21b8 commit 91dd70c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
name: Release Binaries
runs-on: ubuntu-latest
container:
image: iotaledger/goreleaser-cgo-cross-compiler:1.20.2
image: iotaledger/goreleaser-cgo-cross-compiler:1.21.0
volumes: [/repo]
steps:
- name: Check out code into the Go module directory
Expand All @@ -59,4 +59,3 @@ jobs:
run: goreleaser --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

6 changes: 3 additions & 3 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ on:
jobs:
Release:
name: Test release
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
container:
image: iotaledger/goreleaser-cgo-cross-compiler:1.20.2
image: iotaledger/goreleaser-cgo-cross-compiler:1.21.0
volumes: [/repo]

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Test HORNET Release
run: goreleaser --snapshot --skip-publish --clean
6 changes: 1 addition & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
# Project name
project_name: HORNET-legacy

# Environment variables
env:
- GO111MODULE=on

# Builds
builds:
# Linux AMD64
Expand Down Expand Up @@ -68,7 +64,7 @@ nfpms:
{{- else }}{{ .Arch }}{{ end }}
vendor: GoReleaser
license: Apache 2.0
maintainer: GoHORNET
maintainer: iotaledger
homepage: https://github.com/iotaledger/hornet
description: HORNET is a powerful IOTA fullnode software. This is the legacy version.
formats:
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_goreleaser_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# make script executable independent of path
cd $(dirname "$0")/../

GORELEASER_IMAGE=iotaledger/goreleaser-cgo-cross-compiler:1.20.2
GORELEASER_IMAGE=iotaledger/goreleaser-cgo-cross-compiler:1.21.0
REPO_PATH="/build"

docker pull "${GORELEASER_IMAGE}"
Expand Down

0 comments on commit 91dd70c

Please sign in to comment.