Skip to content

Commit

Permalink
Merge pull request #4 from cryptogarageinc/feature/add-alpine316
Browse files Browse the repository at this point in the history
fix: output filename on alpine 3.16
  • Loading branch information
k-matsuzawa authored Sep 9, 2022
2 parents e00f7d4 + 62feaeb commit 8cd1264
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_pre-merge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: sprint pre-merge check
name: pre-merge check

on:
push:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create_release-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ jobs:
entrypoint: /github/workspace/.github/workflows/docker/alpine_build_entrypoint.sh
- name: create archive file
run: |
mv generateblock-alpine ${FILENAME}
gzip ${FILENAME}
echo "---- dump gzip file ----"
ls -l generateblock*
Expand Down Expand Up @@ -193,6 +194,7 @@ jobs:
entrypoint: /github/workspace/.github/workflows/docker/alpine_build_entrypoint.sh
- name: create archive file
run: |
mv generateblock-alpine ${FILENAME}
gzip ${FILENAME}
echo "---- dump gzip file ----"
ls -l generateblock*
Expand Down Expand Up @@ -229,6 +231,7 @@ jobs:
entrypoint: /github/workspace/.github/workflows/docker/alpine_build_entrypoint.sh
- name: create archive file
run: |
mv generateblock-alpine ${FILENAME}
gzip ${FILENAME}
echo "---- dump gzip file ----"
ls -l generateblock*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker/alpine_build_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cd /github/workspace/generate-block-for-testing

go mod download

go build -ldflags "-s -w" -o generateblock-alpine3_14 ./cmd/generateblock/
go build -ldflags "-s -w" -o generateblock-alpine ./cmd/generateblock/

0 comments on commit 8cd1264

Please sign in to comment.