Skip to content

Commit 5e7fdb2

Browse files
committed
docker caching
1 parent 79df85a commit 5e7fdb2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Continuous Integration and Delivery
33
on: [push]
44

55
env:
6-
IMAGE: docker.pkg.github.com/$GITHUB_REPOSITORY/web
6+
IMAGE: docker.pkg.github.com/$GITHUB_REPOSITORY/foo
77

88
jobs:
99

@@ -80,21 +80,21 @@ jobs:
8080
- name: Install requirements
8181
run: docker exec fastapi-tdd pip install black flake8 isort pytest
8282
- name: Pytest
83-
run: docker exec fastapi-tdd pytest .
83+
run: docker exec fastapi-tdd python -m pytest .
8484
- name: Flake8
85-
run: docker exec fastapi-tdd flake8 .
85+
run: docker exec fastapi-tdd python -m flake8 .
8686
- name: Black
87-
run: docker exec fastapi-tdd black . --check
87+
run: docker exec fastapi-tdd python -m black . --check
8888
- name: isort
89-
run: docker exec fastapi-tdd /bin/sh -c "isort ./*/*.py --check-only"
89+
run: docker exec fastapi-tdd /bin/sh -c "python -m isort ./*/*.py --check-only"
9090

9191
deploy:
9292
name: Deploy to Heroku
9393
runs-on: ubuntu-latest
9494
needs: [build, test]
9595
env:
9696
HEROKU_APP_NAME: salty-fortress-93778
97-
HEROKU_REGISTRY_IMAGE: registry.heroku.com/${HEROKU_APP_NAME}/web
97+
HEROKU_REGISTRY_IMAGE: registry.heroku.com/${HEROKU_APP_NAME}/foo
9898
steps:
9999
- name: Checkout master
100100
uses: actions/checkout@v1

0 commit comments

Comments
 (0)