mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
update README with new build instructions and badges
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
[](https://github.com/docker/docker-credential-helpers/releases/latest)
|
||||||
|
[](https://pkg.go.dev/github.com/docker/docker-credential-helpers)
|
||||||
|
[](https://github.com/docker/docker-credential-helpers/actions?query=workflow%3Abuild)
|
||||||
|
[](https://codecov.io/gh/docker/docker-credential-helpers)
|
||||||
|
[](https://goreportcard.com/report/github.com/docker/docker-credential-helpers)
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
docker-credential-helpers is a suite of programs to use native stores to keep Docker credentials safe.
|
docker-credential-helpers is a suite of programs to use native stores to keep Docker credentials safe.
|
||||||
@@ -6,9 +12,21 @@ docker-credential-helpers is a suite of programs to use native stores to keep Do
|
|||||||
|
|
||||||
Go to the [Releases](https://github.com/docker/docker-credential-helpers/releases) page and download the binary that works better for you. Put that binary in your `$PATH`, so Docker can find it.
|
Go to the [Releases](https://github.com/docker/docker-credential-helpers/releases) page and download the binary that works better for you. Put that binary in your `$PATH`, so Docker can find it.
|
||||||
|
|
||||||
### Building from scratch
|
## Building
|
||||||
|
|
||||||
The programs in this repository are written with the Go programming language. These instructions assume that you have previous knowledge about the language and you have it installed in your machine.
|
You can build the credential helpers using Docker:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# create builder
|
||||||
|
$ docker buildx create --use
|
||||||
|
# build credential helpers from remote repository and output to ./bin/build
|
||||||
|
$ docker buildx bake "https://github.com/docker/docker-credential-helpers.git"
|
||||||
|
# or from local source
|
||||||
|
$ git clone https://github.com/docker/docker-credential-helpers.git
|
||||||
|
$ docker buildx bake
|
||||||
|
```
|
||||||
|
|
||||||
|
Or if the toolchain is already installed on your machine:
|
||||||
|
|
||||||
1 - Download the source and put it in your `$GOPATH` with `go get`.
|
1 - Download the source and put it in your `$GOPATH` with `go get`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user