Skip to content

Commit dbafea8

Browse files
committed
fixed ghcr.io push
1 parent 61e7def commit dbafea8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ env:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
packages: write
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: docker/setup-buildx-action@v3
@@ -30,6 +33,12 @@ jobs:
3033
with:
3134
image: teufa:ci
3235
run: pytest
36+
- name: log in to ghcr.io
37+
uses: docker/login-action@v3
38+
with:
39+
registry: ${{ env.REGISTRY }}
40+
username: ${{ github.actor }}
41+
password: ${{ secrets.GITHUB_TOKEN }}
3342
- name: docker meta
3443
id: meta
3544
uses: docker/metadata-action@v5

0 commit comments

Comments
 (0)