Debian Codegraph @

tests/integration/build_secrets/docker-compose.yaml.invalid

raw
1 version: "3.8"
2
3 services:
4 test:
5 image: test
6 build:
7 context: .
8 secrets:
9 # invalid target argument
10 #
11 # According to https://github.com/compose-spec/compose-spec/blob/master/build.md, target is
12 # supposed to be the "name of a *file* to be mounted in /run/secrets/". Not a path.
13 - source: build_secret
14 target: /build_secret
15
16 secrets:
17 build_secret:
18 file: ./my_secret