Perform a docker compose create during CI #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docker_create_in_ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docker compose builddoes not detect a missing secret.@ -63,3 +66,3 @@- name: Build imagesrun: |docker compose builddocker compose create --pull always --buildThis does not work because the environment must be selected first. Otherwise secrets are not available.
@ -63,3 +69,3 @@- name: Build imagesrun: |docker compose builddocker compose create --pull always --buildThis does not work: the secrets cannot be mounted properly during build, because the actual files are hosted in a Docker-in-Docker daemon's folder that we don't know anything about.
Giving up for now. Accessing secrets is way too difficult from the container running the job. Example run based on this attempt: https://code.defx.fr/self-hosting/mpd/actions/runs/9
Pull request closed