Skip to content

Commit ea8d341

Browse files
committed
ci fix
1 parent 3692891 commit ea8d341

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

.github/workflows/python-publish.yaml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Set up Python
26-
uses: actions/setup-python@v3
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: '3.x'
2929
- name: Install dependencies
@@ -33,31 +33,7 @@ jobs:
3333
- name: Build package
3434
run: python -m build
3535
- name: Publish package
36-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
36+
uses: pypa/gh-action-pypi-publish@release/v1
3737
with:
3838
user: __token__
3939
password: ${{ secrets.PYPI_API_TOKEN }}
40-
41-
docker-build-and-push:
42-
name: Build and push Docker images
43-
needs: pypi-build-and-push
44-
uses: ./.github/workflows/reusable-docker-build.yaml
45-
46-
permissions:
47-
contents: read
48-
packages: write
49-
pull-requests: write
50-
51-
secrets:
52-
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
53-
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
54-
55-
with:
56-
dockerhub-enable: true
57-
ghcr-enable: true
58-
platforms: linux/amd64,linux/arm64
59-
file: Dockerfile.release
60-
61-
image-names: |
62-
kamikazer/${{ github.event.repository.name }}
63-
ghcr.io/${{ github.repository }}

0 commit comments

Comments
 (0)