Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
circleci: fix multiline syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-seguin committed Sep 23, 2021
1 parent e56305b commit bb82f8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,11 @@ jobs:
- run:
name: Build and push docker image if the requirements have changed
command: |
md5sum --status -c requirements.md5 ||
docker build -t passcultureapp/api-flask:latest .
docker login -u passcultureapp -p $DOCKERHUB_PASSWORD
md5sum --status -c requirements.md5 || (
docker build -t passcultureapp/api-flask:latest .;
docker login -u passcultureapp -p $DOCKERHUB_PASSWORD;
docker push passcultureapp/api-flask:latest
)
- run:
name: Generate requirements print
command: md5sum ./requirements.txt > requirements.md5
Expand Down

0 comments on commit bb82f8f

Please sign in to comment.