Fix CI: create empty .env file for docker-compose build

docker-compose.yaml references env_file: .env which is created by
Ansible on the server but doesn't exist in the repo. Create an empty
file during CI build to satisfy the reference.

Signed-off-by: Marc Campbell <marc.e.campbell@gmail.com>
This commit is contained in:
Marc Campbell
2026-02-03 11:45:31 +00:00
parent 426f307d11
commit 4ba01e35fc

View File

@@ -37,6 +37,8 @@ jobs:
- name: Build and push images
run: |
# Create empty .env file (docker-compose references it, but it's only needed at runtime)
touch .env
docker compose build
docker compose push
env: