Skip to content

Commit

Permalink
feat: go1.17.7 goreleaser 1.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Mar 2, 2022
1 parent 4c929f9 commit 72e7072
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GO_VERSION=1.17.6
GO_VERSION=1.17.7
GIT_CHGLOG_VERSION=v0.15.0
GORELEASER_VERSION=1.3.1
GORELEASER_VERSION=1.5.0
OSX_SDK=MacOSX12.0.sdk
OSX_SDK_SUM=ac07f28c09e6a3b09a1c01f1535ee71abe8017beaedd09181c8f08936a510ffd
OSX_VERSION_MIN=10.9
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
env-file: .env
- name: Define and set tags
shell: bash
id: set_tags
id: meta
run: |
export cross_tags="$(./scripts/image-tags.sh cross)"
export cross_base_tags="$(./scripts/image-tags.sh cross-base)"
cross_tags="${cross_tags//'%'/'%25'}"
cross_tags="${cross_tags//$'\n'/'%0A'}"
cross_tags="${cross_tags//$'\r'/'%0D'}"
Expand Down Expand Up @@ -62,8 +62,7 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
file: Dockerfile.base
tags: |
${{ steps.set_tags.outputs.cross_base_tags }}
tags: ${{ steps.meta.outputs.cross_base_tags }}
build-args: |
"GO_VERSION=${{env.GO_VERSION}}"
"GORELEASER_VERSION=${{env.GORELEASER_VERSION}}"
Expand All @@ -77,8 +76,7 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ steps.set_tags.outputs.cross_tags }}
tags: ${{ steps.meta.outputs.cross_tags }}
build-args: |
"GO_VERSION=${{env.GO_VERSION}}"
"OSX_SDK=${{env.OSX_SDK}}"
Expand Down
2 changes: 2 additions & 0 deletions scripts/image-tags.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash


# in akash even minor part of the tag indicates release belongs to the MAINNET
# using it as scripts simplifies debugging as well as portability
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
Expand All @@ -21,6 +22,7 @@ function generate_tags {
echo "$hub:$tag"
echo "$hub:$tag-$GORELEASER_VERSION"
echo "$ghcr:latest"
echo "$ghcr:$tag"
echo "$ghcr:$tag-$GORELEASER_VERSION"
fi

Expand Down

0 comments on commit 72e7072

Please sign in to comment.