Skip to content

Commit 5564cda

Browse files
author
Mikhail Milovidov
committed
Fix docker workflow
1 parent fceb132 commit 5564cda

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
publish:
1212
runs-on: ubuntu-latest
1313
if: github.ref_name == 'main' || startsWith(github.ref_name, 'release/')
14+
permissions:
15+
contents: read
16+
packages: write
1417

1518
steps:
1619
- uses: actions/checkout@v6.0.3
@@ -38,19 +41,6 @@ jobs:
3841
with:
3942
password: ${{ secrets.PYPI_API_TOKEN }}
4043

41-
publish-docker:
42-
needs: publish
43-
runs-on: ubuntu-latest
44-
if: github.ref_name == 'main' || startsWith(github.ref_name, 'release/')
45-
permissions:
46-
contents: read
47-
packages: write
48-
49-
steps:
50-
- uses: actions/checkout@v6.0.3
51-
with:
52-
fetch-depth: 0
53-
5444
- name: Log in to GitHub Container Registry
5545
uses: docker/login-action@v3
5646
with:
@@ -74,4 +64,6 @@ jobs:
7464
context: .
7565
push: true
7666
tags: ${{ steps.meta.outputs.tags }}
77-
labels: ${{ steps.meta.outputs.labels }}
67+
labels: ${{ steps.meta.outputs.labels }}
68+
build-args: |
69+
WHEEL=dist/*.whl

0 commit comments

Comments
 (0)