Skip to content

Commit 2104027

Browse files
committed
add action link, clarify with_registry_auth
1 parent 29af0e5 commit 2104027

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,18 @@ docker compose up -d --build container_name
5757
```
5858
- `/swarm`: Rebuild your container in a docker swarm. This is equivalent to:
5959
```bash
60-
docker service update --image container_image --with-registry-auth --force container_name
60+
docker service update --image container_image --force container_name
6161
```
6262
Where the `container_image` gets automatically looked up from the `container_name`.
6363

64+
- Optionally add `{"with_registry_auth": true}` to the payload to add `--with-registry-auth` for private repositories.
65+
6466
These endpoints are async. Meaning after request validation will return while the docker commands will process in the background.
6567

66-
## Pipeline Example
68+
## Action Example
69+
There is an action published to the Github marketplace created from [bbilly1/docker-delivery-hook-action](https://github.com/bbilly1/docker-delivery-hook-action). See the instructions there with example usage.
70+
71+
## Manual Pipeline Example
6772

6873
```bash
6974
PAYLOAD='{"container_name": "my-container-name"}'

0 commit comments

Comments
 (0)