1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

Allow pass helper to be built for macOS

Pass is described as "The Standard Unix Password Manager", and so it can
easily run on more than just Linux. Namely, it's supported on macOS. The
CLI is identical to the Linux build, which means the Linux helper code
for Pass is fully applicable toward the macOS build - a couple of
renames being the only needed thing, purely for semantic correctness.

Signed-off-by: Ellis Clayton <ellis@ellis.codes>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Ellis Clayton
2019-12-03 10:06:05 +11:00
committed by Sebastiaan van Stijn
parent a9d6be0a41
commit dd465ef1f3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -37,6 +37,7 @@ linuxrelease:
osxrelease: osxrelease:
mkdir -p release mkdir -p release
cd bin && tar cvfz ../release/docker-credential-osxkeychain-v$(VERSION)-amd64.tar.gz docker-credential-osxkeychain cd bin && tar cvfz ../release/docker-credential-osxkeychain-v$(VERSION)-amd64.tar.gz docker-credential-osxkeychain
cd bin && tar cvfz ../release/docker-credential-pass-v$(VERSION)-darwin-amd64.tar.gz docker-credential-pass
winrelease: winrelease:
mkdir -p release mkdir -p release
+1 -1
View File
@@ -22,7 +22,7 @@ import (
// PASS_FOLDER contains the directory where credentials are stored // PASS_FOLDER contains the directory where credentials are stored
const PASS_FOLDER = "docker-credential-helpers" //nolint:revive const PASS_FOLDER = "docker-credential-helpers" //nolint:revive
// Pass handles secrets using Linux secret-service as a store. // Pass handles secrets using pass as a store.
type Pass struct{} type Pass struct{}
// Ideally these would be stored as members of Pass, but since all of Pass's // Ideally these would be stored as members of Pass, but since all of Pass's