Skip to content

Commit 01b3040

Browse files
committed
disable CGO & fix permission
1 parent 0efd6c2 commit 01b3040

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-and-publish.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
os: ["linux"]
1616
arch: ["amd64", "arm64"]
1717
env:
18+
CGO_ENABLED: 0
1819
GOOS: "${{matrix.os}}"
1920
GOARCH: "${{matrix.arch}}"
2021
steps:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apk add make --no-cache
77
ARG TARGETOS
88
ARG TARGETARCH
99

10-
COPY bin/semver-tagger_${TARGETOS}_${TARGETARCH} /usr/local/bin/semver-tagger
10+
COPY --chmod=555 bin/semver-tagger_${TARGETOS}_${TARGETARCH} /usr/local/bin/semver-tagger
1111

1212
ARG VENDOR
1313
ARG SOURCE

0 commit comments

Comments
 (0)