mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-25 17:50:59 -05:00
Merge pull request #194 from crazy-max/buildargs-example
Fix build-args example
This commit is contained in:
commit
4d8e3c6c3b
2 changed files with 8 additions and 3 deletions
|
@ -88,6 +88,9 @@ jobs:
|
|||
with:
|
||||
push: true
|
||||
tags: user/app:latest
|
||||
build-args: |
|
||||
arg1=value1
|
||||
arg2=value2
|
||||
-
|
||||
name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
@ -540,8 +543,8 @@ might want to use:
|
|||
|
||||
### Update DockerHub repo description
|
||||
|
||||
You can update the [Docker Hub repository description](https://docs.docker.com/docker-hub/repos/) using
|
||||
a third-party action called [Docker Hub Description](https://github.com/peter-evans/dockerhub-description)
|
||||
You can update the [DockerHub repository description](https://docs.docker.com/docker-hub/repos/) using
|
||||
a third-party action called [DockerHub Description](https://github.com/peter-evans/dockerhub-description)
|
||||
with this action:
|
||||
|
||||
<details>
|
||||
|
|
|
@ -65,7 +65,9 @@ steps:
|
|||
file: ./Dockerfile
|
||||
pull: true
|
||||
push: true
|
||||
build-args: arg1=value1,arg2=value2
|
||||
build-args: |
|
||||
arg1=value1
|
||||
arg2=value2
|
||||
cache-from: type=registry,ref=myorg/myrepository:latest
|
||||
cache-to: type=inline
|
||||
tags: myorg/myrepository:latest
|
||||
|
|
Loading…
Reference in a new issue