Skip to content

Commit 8088361

Browse files
add container package to use; add credential for login; add code checkout to pull the code.
1 parent 83deac8 commit 8088361

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ jobs:
55
pytest:
66
name: Pytest
77
runs-on: ubuntu-latest
8-
container: docker.pkg.github.com/aleksandr-kotlyar/python_and_gitlab/python-3.7.6-alpine-req:ver-14-mimesis-4.1.2
8+
container:
9+
image: docker.pkg.github.com/aleksandr-kotlyar/python_and_gitlab/python-3.7.6-alpine-req:ver-14-mimesis-4.1.2
10+
credentials:
11+
username: ${{ github.actor }}
12+
password: ${{ secrets.ghcr_token }}
13+
uses: actions/checkout@v2
914
steps:
1015
- run: pytest src/test/test_api.py

0 commit comments

Comments
 (0)