Signed-off-by: Konosuke Kachi <github@s.k-kachi.net>
This commit is contained in:
Konosuke Kachi 2020-05-16 15:16:10 +09:00
parent 92e7146349
commit 68257a7f8a

View File

@ -204,7 +204,7 @@ with:
target: mytarget target: mytarget
``` ```
The following will build the root Dockerfile, tag the image as `myorg/myrepository:latest`, log in to Google Container Registry using GitHub secrets (where `DOCKER_PASSWORD` is a [JSON key](https://cloud.google.com/container-registry/docs/advanced-authentication#json-key)), and push the image to the CGR repository `myorg/myrepository`: The following will build the root Dockerfile, tag the image as `myorg/myrepository:latest`, log in to Google Container Registry using GitHub secrets (where `DOCKER_PASSWORD` is a [JSON key](https://cloud.google.com/container-registry/docs/advanced-authentication#json-key)), and push the image to the GCR repository `myorg/myrepository`:
```yaml ```yaml
uses: docker/build-push-action@v1 uses: docker/build-push-action@v1