mirror of
https://github.com/docker/compose.git
synced 2026-09-24 14:34:26 +00:00
The dry-run publish checks split into nine scenarios, one per model and refusal reason; the prompt text, refusal exit code (130) and publication report are the observables. WithStdin joins the Action modifiers to feed prompt answers. TestPublish stays legacy: it drives a real registry container and loads oci:// projects with multiple -f files. Only the oci/ fixture subtree it needs survives. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
20 lines
412 B
YAML
20 lines
412 B
YAML
services:
|
|
serviceA:
|
|
image: "alpine:3.12"
|
|
environment:
|
|
- AWS_ACCESS_KEY_ID=A3TX1234567890ABCDEF
|
|
- AWS_SECRET_ACCESS_KEY=aws"12345+67890/abcdefghijklm+NOPQRSTUVWXYZ+"
|
|
configs:
|
|
- myconfig
|
|
serviceB:
|
|
image: "alpine:3.12"
|
|
env_file:
|
|
- publish-sensitive.env
|
|
secrets:
|
|
- mysecret
|
|
configs:
|
|
myconfig:
|
|
file: config.txt
|
|
secrets:
|
|
mysecret:
|
|
file: secret.txt
|