File tree Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Original file line number Diff line number Diff line change 21
21
runs-on : ubuntu-latest
22
22
23
23
steps :
24
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
25
25
- name : Set up Python
26
- uses : actions/setup-python@v3
26
+ uses : actions/setup-python@v5
27
27
with :
28
28
python-version : ' 3.x'
29
29
- name : Install dependencies
33
33
- name : Build package
34
34
run : python -m build
35
35
- name : Publish package
36
- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
36
+ uses : pypa/gh-action-pypi-publish@release/v1
37
37
with :
38
38
user : __token__
39
39
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 }}
You can’t perform that action at this time.
0 commit comments