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

472 Commits

Author SHA1 Message Date
CrazyMax 29c449aea8 Dockerfile: debian based build
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-30 13:09:08 +02:00
Sebastiaan van Stijn 2f246b8570 Merge pull request #221 from nicks/nicks/pass
pass: return an error when a cred doesn't exist
v0.7.0-beta.1
2022-08-28 21:33:45 +02:00
CrazyMax 0ab1dd03b3 Merge pull request #238 from thaJeztah/bump_golang_sys
vendor: golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
2022-08-28 21:15:35 +02:00
Sebastiaan van Stijn 3526ac5303 vendor: golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
update to latest version

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-28 21:06:44 +02:00
Sebastiaan van Stijn 7c04fb1f9c Merge pull request #237 from crazy-max/release
Release target with checksums
2022-08-28 20:58:51 +02:00
CrazyMax d4880decb1 remove CHANGELOG
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-28 20:53:51 +02:00
CrazyMax 214ecc1238 create GitHub Release on push tag with artifacts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-28 20:53:51 +02:00
CrazyMax 056f8792b7 release target with checksums
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-28 20:53:51 +02:00
Sebastiaan van Stijn da1d534b46 Merge pull request #234 from crazy-max/versioning
Set version and revision at linked time
2022-08-27 00:37:28 +02:00
CrazyMax a2d8aac9dd ci: add build-deb job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-27 00:32:19 +02:00
CrazyMax 48ab0d84e8 Fix deb package
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-27 00:32:19 +02:00
CrazyMax e50298d973 Makefile: mutualize local and Dockerfile build opts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-27 00:32:19 +02:00
CrazyMax 2c31fa46db ci: fetch depth 0 at build time for proper versioning
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-25 14:50:26 +02:00
CrazyMax a37d38a864 Set version and revision at linked time
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-25 14:50:18 +02:00
Sebastiaan van Stijn 51249117fa Merge pull request #236 from ZauberNerd/relative-paths-makefile
Use relative paths in Makefile for "go build"
2022-08-25 12:34:43 +02:00
Björn Brauer 3289c31a02 Use relative paths in Makefile for "go build"
https://github.com/docker/docker-credential-helpers/pull/232#issuecomment-1226943341

Fixes #232

Signed-off-by: Björn Brauer <bjoern.brauer@new-work.se>
2022-08-25 10:02:20 +00:00
Sebastiaan van Stijn ebd9dc6c79 Merge pull request #169 from ellsclytn/pass-macos-and-linux
Allow pass helper to be built for macOS
2022-08-21 16:24:33 +02:00
Sebastiaan van Stijn cc29c66bcc Dockerfile: build pass on macOS
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-21 16:19:22 +02:00
Ellis Clayton dd465ef1f3 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>
2022-08-21 16:18:19 +02:00
Sebastiaan van Stijn a9d6be0a41 Merge pull request #233 from thaJeztah/update_readme_instructions
Update local build instructions in README
2022-08-21 16:16:39 +02:00
Sebastiaan van Stijn becf2f2a95 Update local build instructions in README
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-21 16:10:50 +02:00
Sebastiaan van Stijn 6dfcfc15aa Merge pull request #232 from thaJeztah/simplify_build
simplify "go build" commands
2022-08-21 15:43:02 +02:00
Sebastiaan van Stijn 5a61a5bc61 Merge pull request #231 from crazy-max/lint
lint gha job and remove travis
2022-08-21 15:42:07 +02:00
CrazyMax f522992580 remove travis
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-21 15:33:57 +02:00
CrazyMax 9ec715d8ed ci: init gpg key and pass for tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-21 15:33:57 +02:00
CrazyMax 9582eb6661 lint gha job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-21 15:33:56 +02:00
Sebastiaan van Stijn e847de4b42 simplify "go build" commands
There's no need to specify the file to build, as we're building the
"main" packages as a whole.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-21 15:30:16 +02:00
Sebastiaan van Stijn 5302241995 Merge pull request #230 from crazy-max/vendor-license
vendor validation
2022-08-20 22:40:10 +02:00
CrazyMax e5695df009 vendor update and validation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 21:49:52 +02:00
Sebastiaan van Stijn acd90ea9da Merge pull request #227 from crazy-max/ppc64le-s390x
support linux/ppc64le and linux/s390x cross build
2022-08-20 21:11:04 +02:00
CrazyMax 018b71b3c3 support linux/ppc64le and linux/s390x cross build
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 21:03:51 +02:00
Sebastiaan van Stijn 662759718c Merge pull request #226 from thaJeztah/bump_go_1.18.5
update to go 1.18.5
2022-08-20 20:59:20 +02:00
Sebastiaan van Stijn fd0197473f update to go 1.18.5
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-20 20:49:39 +02:00
Sebastiaan van Stijn ab7fd12c67 Merge pull request #224 from crazy-max/ci-test
Test stage and ci jobs
2022-08-20 20:49:28 +02:00
CrazyMax 6f1a1a10c1 update README with new build instructions and badges
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 20:44:51 +02:00
CrazyMax 667e4702b8 ci: add test jobs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 20:44:50 +02:00
Sebastiaan van Stijn 8fee1128b6 Merge pull request #225 from thaJeztah/drop_go1.8
registryurl: remove fallback code for go < 1.8
2022-08-20 20:35:09 +02:00
Sebastiaan van Stijn 70f476531f registryurl: deprecate GetHostname(), GetPort()
These were just wrappers for url.Hostname() and url.Port()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-20 20:25:03 +02:00
Sebastiaan van Stijn ebbaee6ed4 registryurl: remove fallback code for go < 1.8
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-20 20:18:03 +02:00
CrazyMax e7e9118856 Dockerfile: add test stage
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 18:55:43 +02:00
Sebastiaan van Stijn 0e5dbc62ad Merge pull request #219 from crazy-max/dockerfile
Dockerfile for cross compilation
2022-08-20 17:38:04 +02:00
CrazyMax a251a3e4c5 Remove unused Jenkinsfile
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 17:32:01 +02:00
CrazyMax 4f1c080d3b Basic GHA workflow for cross compilation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 17:32:01 +02:00
CrazyMax 17020d97fe Dockerfile for cross compilation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-20 17:32:00 +02:00
Nick Santos 2fc2313bb1 pass: return an error when a cred doesn't exist
fixes https://github.com/docker/docker-credential-helpers/issues/174

Signed-off-by: Nick Santos <nick.santos@docker.com>
2022-07-27 09:28:13 -04:00
Sebastiaan van Stijn e595cd6946 Merge pull request #208 from crazy-max/wincred
Bump github.com/danieljoos/wincred to v1.1.2
2021-09-14 16:41:53 +02:00
Mathieu Champlon a4e88fa4cf Merge pull request #211 from alakesh/master
Fix return values in List() in secretservice_linux.go
2021-09-08 06:52:50 +02:00
Alakesh Haloi 48bfed47cc Fix return values in List() in secretservice_linux.go
In case of error, return nil for expected map along with error

Signed-off-by: Alakesh Haloi <alakeshh@amazon.com>
2021-09-07 17:14:20 -07:00
Emmanuel Briney 6e2a858a7a Merge pull request #191 from QiWang19/list-error
List wraps the error from secretservice_linux.c.
2021-08-31 11:53:41 +02:00
Qi Wang 8086f00d7d List wraps the error from secretservice_linux.c.
List wraps the error from secretservice_linux.c so the List can give the caller more useful error message for diagnosing.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2021-08-28 20:44:52 -04:00