Created
November 11, 2023 17:25
-
-
Save jedahan/0e06d8253698f6f8771a8c18c6faab04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this shows how the template_driver option in a compose file fails silently |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
007 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
secrets: | |
codename: | |
file: codename | |
configs: | |
greeting: | |
file: greeting | |
template_driver: golang | |
services: | |
app: | |
image: alpine | |
secrets: [ codename ] | |
configs: [ greeting ] | |
command: [ sh, '-c', "/greeting" ] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo {{ secret "codename" }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment