feat(docker): configure fastapi's commit_hash based on $COMMIT_HASH

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-25 15:38:51 -07:00
parent b49b629395
commit 8239dcdd1b
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
4 changed files with 7 additions and 0 deletions

View file

@ -55,6 +55,7 @@ deploy:
AURWEB_PHP_PREFIX: https://aur-dev.archlinux.org
AURWEB_FASTAPI_PREFIX: https://aur-dev.archlinux.org
AURWEB_SSHD_PREFIX: ssh://aur@aur-dev.archlinux.org:2222
COMMIT_HASH: $CI_COMMIT_SHA
script:
- pacman -Syu --noconfirm docker-compose socat openssh
- chmod 600 ${SSH_KEY}