File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,13 @@ services:
1313
1414install : pip install -r backend/requirements.txt
1515
16+ # TODO: Reformat file as it is ugly. separatee jobs in yml, and lint as the last job to run
17+
1618jobs :
1719 include :
1820 - stage : build
1921 script :
22+ - openssl aes-256-cbc -K $encrypted_3c84dcdc6bbe_key -iv $encrypted_3c84dcdc6bbe_iv -in .env.enc -out .env -d
2023 # login to github registry
2124 - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ghcr.io
2225 # build image
3033 # login to github registry
3134 - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ghcr.io
3235 # pull images
33- - docker pull PyMatchaAPI
36+ - docker pull pymatcha-api
3437 # run docker on port 80
3538 # do not forget to add env-file an environment file in Settings/CI CD/Variables
3639 - docker run -d -p 5000:5000 --restart always pymatcha-api
You can’t perform that action at this time.
0 commit comments