File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ RUN --mount=type=bind,target=. \
109109EOT
110110
111111FROM base AS build-darwin
112+ ARG TARGETOS
112113ARG TARGETARCH
113114ARG TARGETVARIANT
114115RUN --mount=type=bind,target=. \
@@ -121,6 +122,9 @@ RUN --mount=type=bind,target=. \
121122 xx-go install std
122123 xx-go build -ldflags "$(cat /tmp/.ldflags)" -o /out/docker-credential-osxkeychain-${TARGETARCH}${TARGETVARIANT} ./osxkeychain/cmd/
123124 xx-verify /out/docker-credential-osxkeychain-${TARGETARCH}${TARGETVARIANT}
125+
126+ xx-go build -ldflags "$(cat /tmp/.ldflags)" -o /out/docker-credential-pass-${TARGETOS}-${TARGETARCH}${TARGETVARIANT} ./pass/cmd/
127+ xx-verify /out/docker-credential-pass-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}
124128EOT
125129
126130FROM base AS build-windows
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ linuxrelease:
3737osxrelease :
3838 mkdir -p release
3939 cd bin && tar cvfz ../release/docker-credential-osxkeychain-v$(VERSION ) -amd64.tar.gz docker-credential-osxkeychain
40+ cd bin && tar cvfz ../release/docker-credential-pass-v$(VERSION ) -darwin-amd64.tar.gz docker-credential-pass
4041
4142winrelease :
4243 mkdir -p release
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
2222// PASS_FOLDER contains the directory where credentials are stored
2323const PASS_FOLDER = "docker-credential-helpers" //nolint:revive
2424
25- // Pass handles secrets using Linux secret-service as a store.
25+ // Pass handles secrets using pass as a store.
2626type Pass struct {}
2727
2828// Ideally these would be stored as members of Pass, but since all of Pass's
You can’t perform that action at this time.
0 commit comments