Skip to content

Releases: GoogleCloudPlatform/docker-credential-gcr

v2.1.2

29 Apr 00:57
0cdcd65
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

15 Apr 18:34
5a7b2ee
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

09 Sep 23:39
4cdd60d
Compare
Choose a tag to compare

Changelog

1d718f5 Add github action to test. Bump minimum tested go version to 1.13
0ee5161 Add go modules for go version 1.17
cf50795 Add vetting to github action.
feb8742 Bad archive replacements and snapshot name template.
82392ce Don't change format of GcrOAuth2Username (almost changed from '_' to '.')
62f8f44 Fix build issue with tests. Also fix test failures from how we now set version when running locally.
32e09be Fix goreleaser github action failure by bumping go version used
6eedb0c Merge pull request #101 from rafibarash/go-modules-github-actions-1
4cdd60d Merge pull request #102 from rafibarash/automate-release
7307e10 Merge pull request #94 from rafibarash/add-region
dd6151d Now that release github action is verified to work, only trigger on new tags.
dc578f1 Nuke vendors now that we use go modules :)
648abe8 Remove config_test from windows testing until fixed.
ff15d60 Remove login_integration_test from race testing until fixed.
f3fc63d Remove store_integration_test from windows os testing in github action until fixed.
6d3c3e1 Remove the makefile and all references to it in CONTRIBUTING.md and README.md
8879891 Remove travis tests in favor of github actions
aeb1acb Remove travis tests in favor of github actions
15b613c Use version instead of tag in goreleaser snapshot name_template to keep out "v" letters in generated archive filenames.
38731a7 add github action for goreleaser
6edb8af adding northamerica-northeast2-docker.pkg.dev AR registry
4501230 goreleaser init
d5997c8 refactor Major/Minor/Patch Version vars into a single "Version" variable set with ldflags
d439239 sort AR regions in alphabetical order
d74cc3d temporarily change release script to run on all pushes to test on fork
d9fe66a travis removal with Makefile removal... Im not the best at git

v2.0.5

13 Jul 21:45
faed5e8
Compare
Choose a tag to compare

Adds new regions for Artifact Registry

  • Melbourne == australia-southeast2
  • Warsaw == europe-central2
  • Delhi == asia-south2

Also gives precedence to the $HOME environment variable when returning the user's home directory.
$HOME has precedence over records in the password database since the credential helper may be running under a different UID in a user namespace.

Note: This release is a little busted in that I didn't update the config PatchVersion from 4 -> 5. Sometime in the next couple weeks I'll automate out this config const so we don't run into this issue again.

Archive binary sha256sum
docker-credential-gcr_linux_386-2.0.5.tar.gz 0cfacee31b77ddc1d25bfc15bd93603c129f8327672ed9330c43afd039f82088
docker-credential-gcr_linux_amd64-2.0.5.tar.gz a673b3d6e2fddd0fe6baf807f7b11f98714eb5b901b0c27e26cd33b0bc291ad5
docker-credential-gcr_linux_arm64-2.0.5.tar.gz de0942177e15f4f087812f75fa45bddbd11a970ed36f3ed991592ceddb84236b
docker-credential-gcr_darwin_amd64-2.0.5.tar.gz 82aaabe879fb05acb4599f716a645d988cb1b81d49d114f04037ebdb1588db43
docker-credential-gcr_darwin_arm64-2.0.5.tar.gz 4b1b1d28cb661e4fd98372799906cc30045c3bc781237dccf5d9312bbe688c59
docker-credential-gcr_windows_386-2.0.5.tar.gz d6db1d16800be0df8af28dd492afb1f693890e321be49a26506c4c9e6eb04c14
docker-credential-gcr_windows_amd64-2.0.5.tar.gz 62603a2f6d7c322bba37e8b8b952c8882b23b84d0cb8456c5b86aaab0997d46c

v2.0.4

12 Feb 23:00
6093d30
Compare
Choose a tag to compare

Adds new regions for Artifact Registry:

  • asia-northeast3
  • us-west3
  • us-west4
  • asia-southeast2
Archive sha256sum
docker-credential-gcr_darwin_amd64-2.0.4.tar.gz fb37bc90831807ccfda115fa8fbc27fd6564f085c5eb258962b3582b60e1ea71
docker-credential-gcr_darwin_arm64-2.0.4.tar.gz 170b3ce008d33caaf2347fb39b8ad23e6e3d9b00790304f531e6a37564806f41
docker-credential-gcr_linux_386-2.0.4.tar.gz 932a07a4a77741801f2d4067dcf113be4e27f54c525f618f2dee2799a00765d6
docker-credential-gcr_linux_amd64-2.0.4.tar.gz 4fca8441c41802f4bcc4912672c55d4b1232decb90639f8a684d3b389e4e6e91
docker-credential-gcr_linux_arm64-2.0.4.tar.gz 9276eab0d6da985f01f5f0d6d00313c9a49768d4eb0112b5fb8b4fdda07d1f7d
docker-credential-gcr_windows_386-2.0.4.tar.gz 2a4e825b63c845d2e96d6d871926ef9c51a95a62a288b1e05b06019ededc7bd9
docker-credential-gcr_windows_amd64-2.0.4.tar.gz fa8bd855ba23e7668b48381e8ac7ba2b42c311ae3c26b0ab662d5b212b25255d

v2.0.2

21 Jul 21:09
2d65edf
Compare
Choose a tag to compare

Adds the --include-artifact-registry flag which will add all Artifact Registry registries to the credential config file. This is only intended for tooling that needs to ensure that it sends credentials to any Artifact Registry endpoint when pulling images.

Note that adding a long list of registries to the config file will slow down docker build. The recommendation for users is to only add the registries that are being used, by passing them using the --registries flag.

Archive sha256sum
docker-credential-gcr_darwin_386-2.0.2.tar.gz 1c925d97d6409d775650b0f085a688a7077e07cf3ddf0a8cdc6dd1ceb85f449e
docker-credential-gcr_darwin_amd64-2.0.2.tar.gz 629577fcbb781ef7f8e751241fbc149a56bb52320d6c0cba995fffaa23fa009d
docker-credential-gcr_linux_386-2.0.2.tar.gz 6defbe32e44444795308c82ec7d588ba29fb464b571fd87c7374a011702a088f
docker-credential-gcr_linux_amd64-2.0.2.tar.gz 12a4d75885a29b183bb28ff469f5ca40ef148f195b4bbd5bb27f5a9cdd8dea2f
docker-credential-gcr_windows_386-2.0.2.tar.gz 210602b2732742438df92e5c192a46b994b8402bf954ff0cf3418b7deba5fa76
docker-credential-gcr_windows_amd64-2.0.2.tar.gz d20ddfec97d231626b60a8f9c2049c85451905e650f4723c045219828a752d91

Improved compatibility with GKE Workload Identity

05 Mar 20:36
be7633a
Compare
Choose a tag to compare

Changes

This release fixes timeouts from docker-credential-gcr for workloads on GKE when the Workload Identity feature is enabled.

Archive digests

Archive sha256sum
docker-credential-gcr_linux_amd64-2.0.1.tar.gz 90837d1d9cf16809a60d5c7891d7d0b8445b1978ad43187032a0ca93bda49ed5
docker-credential-gcr_linux_386-2.0.1.tar.gz debc3f13a04cac9d0fa55aba9bddaef37812ab60bd0f5f1dfc0f50ddf67e9b99
docker-credential-gcr_linux_arm64-2.0.1.tar.gz 8c02ebf71ed501db4e59cc869814a46350c63b558af205523a3e26ad6e50dc03
docker-credential-gcr_darwin_386-2.0.1.tar.gz 0eea12fa5f7ebe8d6fde1d10ce094a54313c13504f54ebfe7c25c258789e2b74
docker-credential-gcr_darwin_amd64-2.0.1.tar.gz 7bfabbbec9555404a32c5a90e11605c6c16124c92ecfc975c78db8c82194e5f0
docker-credential-gcr_windows_386-2.0.1.tar.gz d472677cfbfc614a6ff271868d0fd42f4575f4a358483013174d42956d5f7304
docker-credential-gcr_windows_386-2.0.1.zip 7fa43f05af88829047a527b25d8c3286fbb201326e9366f139e7a1b14dad8110
docker-credential-gcr_windows_amd64-2.0.1.tar.gz 170e578f0ca402878dbd8f86ac6f8cfb81ecddf291a2be3c22fa5bd2cf06ac25
docker-credential-gcr_windows_amd64-2.0.1.zip f2cfa8eb7a6da67bbd98726ce94172f0694ac2e1b4fb79e122a682c3dde43f13

v2.0.0

18 Oct 20:55
7daa5a7
Compare
Choose a tag to compare

Simplicity, performance, and general bug fixes.

Breaking Changes

  • Docker client versions prior to v18.03 are no longer supported.
  • Generalized credentials store functionality is no longer supported. docker-credential-gcr can only be used as a GCR credential helper.
  • gcloud is no longer a default token source.
  • staging-k8s.gcr.io is no longer a default registry configured by configure-docker.

Changes

  • Users may now specify the set of GCR registries in configure-docker with the --registries flag.
  • marketplace.gcr.io is now a default registry configured by configure-docker.

Archive digests

Archive sha256sum
docker-credential-gcr_linux_amd64-2.0.0.tar.gz 1f98cbe13be7876b3a031540c48c04739ad22aa4b0c5d1b5b2c48d558eb44581
docker-credential-gcr_linux_386-2.0.0.tar.gz 8a7499da7ad98c79a5436d61495942510593821dbd76cf233a30d147387e0ca9
docker-credential-gcr_linux_arm64-2.0.0.tar.gz 8a563549e3559234402b802ee450cfd7817a908330ebf95ea72db00829145d59
docker-credential-gcr_darwin_386-2.0.0.tar.gz c46f59b8222992251b14284242d46e2fe09c497bd236fc8fab9e4a5252ed740b
docker-credential-gcr_darwin_amd64-2.0.0.tar.gz 9935f1b6f3da9c6c1a458c5aabbf7b225de819bcd933b2251f69fcf2eb2cc286
docker-credential-gcr_windows_386-2.0.0.tar.gz d1f5005dbbdb3744beed684c2be01d676fdbd17d9754620991fc279dbafa80ed
docker-credential-gcr_windows_386-2.0.0.zip 704fb4cc22d5aef94b82bfbc4d6ead1a748385ebb0152551c88584ad5422d2fa
docker-credential-gcr_windows_amd64-2.0.0.tar.gz aa99e6ced4eff60bef9a319bacee5e9a706fb40552929d58ef7ce9722cc1de52
docker-credential-gcr_windows_amd64-2.0.0.zip e41254bcfac7c03e37f8dc25096366925e17e3c07db60bb88e75d2c44f736a2d

Reverse order of default token sources

13 Jun 21:04
e1e5d68
Compare
Choose a tag to compare

Previously, docker-credential-gcr would prefer the most 'magical' token sources over more explicit token sources, i.e. environmental sources over gcloud, and gcloud over the credentials stored via docker-credential-gcr gcr-login. This ordering has been reversed, to make debugging more intuitive. See the documentation on GCR credential sources for more information, and how to manually define this preference.

Binary SHA256 Checksums:

  • linux-amd64
    • 1ca0b551fb36322c479c08f264e616cc693d4045531586a38b106192016b43ee
  • linux-386
    • 2fa922140c1d17c8526a60e58a5735360c67da5432be501f34d5891e3b3a83dd
  • darwin-386
    • c98297e7f4a56c597e7d75a0ad6b74a7e0be06d76b5ce8bd665f12eddc7801fd
  • darwin-amd64
    • 650dfc817acb52f1f6a42ed8837c2bad2c4aa791a6735f4eb097a5868581a449
  • windows-386
    • 1f38568c5df49bb25c98938226759d9ddfd5b7890181c6a06af6c19c85a48915
  • windows-amd64
    • 1badf042cea5246143bc14e4dfd8340f9a545e670bf9faaf4ffe94941f12d0cb

v1.4.3 w/ static binaries

16 Apr 19:45
d81a568
Compare
Choose a tag to compare

Strong, independent binaries who don't need no distro.