This commit is contained in:
Daniel Langbein 2024-11-21 18:23:26 +01:00
parent d8fc559b5b
commit d125441583
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -12,6 +12,17 @@ in
{ {
# Configure ContainerImages. # Configure ContainerImages.
# This creates file `/etc/ContainerImages/dockerhub-p1st`. # This creates file `/etc/ContainerImages/dockerhub-p1st`.
#
# `config.json` is created by running `docker login` for the correct user.
# It has the following content
# {
# "auths": {
# "https://index.docker.io/v1/": {
# "auth": "REPLACE-ME-WITH-REAL-VALUE"
# }
# }
# }
deployment.keys."dockerhub-${dockerHubUsername}" = { deployment.keys."dockerhub-${dockerHubUsername}" = {
# mkdir secrets/dockerhub-p1st # mkdir secrets/dockerhub-p1st
# sudo install -m600 /dev/stdin secrets/dockerhub-p1st/config.json # sudo install -m600 /dev/stdin secrets/dockerhub-p1st/config.json