Skip to content

Commit

Permalink
feat: remove dependency on local libc
Browse files Browse the repository at this point in the history
Merge pull request #28 from someone-stole-my-name/master
  • Loading branch information
arcln committed May 25, 2022
2 parents ad89ec4 + 4366159 commit 0f6b20f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ release-assets:
GOOS=$(echo "$platform" | cut -d'/' -f1)
GOARCH=$(echo "$platform" | cut -d'/' -f2)
BIN=$CI_PROJECT_NAME-$GOOS-$GOARCH
go build -o $BIN -ldflags "-X \"enix.io/$CI_PROJECT_NAME/internal.Version=${CI_COMMIT_REF_SLUG:1}\"" ./cmd/$CI_PROJECT_NAME
go build -tags netgo,osusergo -o $BIN -ldflags "-X \"enix.io/$CI_PROJECT_NAME/internal.Version=${CI_COMMIT_REF_SLUG:1}\"" ./cmd/$CI_PROJECT_NAME
./test/upload-release.sh "github_api_token=$GITHUB_TOKEN" "owner=enix" "repo=$CI_PROJECT_NAME" "tag=$CI_COMMIT_TAG" "filename=$BIN"
done
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ENV GOARCH=${TARGETARCH}

ARG VERSION="0.0.0"

RUN go build -ldflags "-X \"enix.io/x509-certificate-exporter/internal.Version=${VERSION}\"" ./cmd/x509-certificate-exporter
RUN go build -tags netgo,osusergo -ldflags "-X \"enix.io/x509-certificate-exporter/internal.Version=${VERSION}\"" ./cmd/x509-certificate-exporter


## Production Stage
Expand Down

0 comments on commit 0f6b20f

Please sign in to comment.