Skip to content

Commit 0538e28

Browse files
committed
Clarify upgrade path to v5 — image-repository and image-name attrs
1 parent cff439e commit 0538e28

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/upgrading-to-v5.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ You need to:
5454
* delete these options
5555
* add a `push` or `run` on the very same step
5656

57+
Example change:
58+
```diff
59+
- - docker-compose#v4.16.0:
60+
+ - docker-compose#v5.0.0:
61+
build: base
62+
- image-name: image-name-build_id
63+
- image-repository: image-repo-host/builds
64+
push:
65+
+ - image-repo-host/builds:image-name-build_id
66+
```
67+
5768
## `cli-version`
5869

5970
If you were using this option to ensure that `docker compose` was used, you should be able to remove it safely. On the other hand, if your build environment only has the old v1 CLI interface (`docker-compose`), you will need to make some changes.

0 commit comments

Comments
 (0)