mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-02-14 16:59:51 +00:00
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:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user