1
Fork 0

Remove unnecessary env file additions

Because the env file is passed in directly, the build scripts will deal with exporting it
This commit is contained in:
Jake Howard 2020-09-12 14:53:22 +01:00
parent 63b2ca3389
commit 781354b797
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 1 additions and 2 deletions

View file

@ -22,7 +22,7 @@ jobs:
run: env >> .env
- name: Build production container
run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/theorangeone.net:latest --env-file .env .
run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/theorangeone.net:latest .
- name: Log into GitHub Docker Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin

View file

@ -4,7 +4,6 @@ services:
website:
build:
context: .
env_file: .env
volumes:
- "./public:/usr/share/nginx/html:ro"
- "./nginx.conf:/etc/nginx/nginx.conf:ro"