Skip to content

Commit 4e4255b

Browse files
committed
ci: use hardcoded values for annotations
Args are not supported
1 parent 1bf5fa4 commit 4e4255b

File tree

1 file changed

+15
-36
lines changed

1 file changed

+15
-36
lines changed

.github/.devcontainer/devcontainer.json

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,23 @@
44
"dockerfile": "./Dockerfile",
55
"context": ".",
66
"args": {
7-
"IMAGE": "${localEnv:IMAGE}",
8-
"TITLE": "Quarto Codespaces",
9-
"DESCRIPTION": "Quarto Codespaces / Dev Containers setup for quick online testing.",
10-
"AUTHORS": "Mickaël CANOUIL <https://mickael.canouil.fr>",
11-
"URL": "https://github.com/mcanouil/quarto-codespaces",
12-
"SOURCE": "https://github.com/mcanouil/quarto-codespaces",
13-
"VERSION": "${localEnv:VERSION}",
14-
"LICENCES": "MIT"
7+
"IMAGE": "${localEnv:IMAGE}"
158
},
169
"options": [
17-
"--label",
18-
"org.opencontainers.image.title=${TITLE}",
19-
"--label",
20-
"org.opencontainers.image.description=${DESCRIPTION}",
21-
"--label",
22-
"org.opencontainers.image.authors=${AUTHORS}",
23-
"--label",
24-
"org.opencontainers.image.url=${URL}",
25-
"--label",
26-
"org.opencontainers.image.source=${SOURCE}",
27-
"--label",
28-
"org.opencontainers.image.version=${VERSION}",
29-
"--label",
30-
"org.opencontainers.image.licenses=${LICENCES}",
31-
"--annotation",
32-
"org.opencontainers.image.title=${TITLE}",
33-
"--annotation",
34-
"org.opencontainers.image.description=${DESCRIPTION}",
35-
"--annotation",
36-
"org.opencontainers.image.authors=${AUTHORS}",
37-
"--annotation",
38-
"org.opencontainers.image.url=${URL}",
39-
"--annotation",
40-
"org.opencontainers.image.source=${SOURCE}",
41-
"--annotation",
42-
"org.opencontainers.image.version=${VERSION}",
43-
"--annotation",
44-
"org.opencontainers.image.licenses=${LICENCES}"
10+
"--label", "org.opencontainers.image.title=Quarto Codespaces",
11+
"--annotation", "org.opencontainers.image.title=Quarto Codespaces",
12+
"--label", "org.opencontainers.image.description=Quarto Codespaces / Dev Containers setup for quick online testing and workshops.",
13+
"--annotation", "org.opencontainers.image.description=Quarto Codespaces / Dev Containers setup for quick online testing and workshops.",
14+
"--label", "org.opencontainers.image.authors=Mickaël CANOUIL <https://mickael.canouil.fr>",
15+
"--annotation", "org.opencontainers.image.authors=Mickaël CANOUIL <https://mickael.canouil.fr>",
16+
"--label", "org.opencontainers.image.url=https://github.com/mcanouil/quarto-codespaces",
17+
"--annotation", "org.opencontainers.image.url=https://github.com/mcanouil/quarto-codespaces",
18+
"--label", "org.opencontainers.image.source=https://github.com/mcanouil/quarto-codespaces",
19+
"--annotation", "org.opencontainers.image.source=https://github.com/mcanouil/quarto-codespaces",
20+
"--label", "org.opencontainers.image.version=${localEnv:VERSION}",
21+
"--annotation", "org.opencontainers.image.version=${localEnv:VERSION}",
22+
"--label", "org.opencontainers.image.licenses=MIT",
23+
"--annotation", "org.opencontainers.image.licenses=MIT"
4524
]
4625
},
4726
"remoteUser": "${localEnv:USER}",

0 commit comments

Comments
 (0)