Skip to content

Commit c8fb0a5

Browse files
committed
chore: Clean up release-please workflow by removing unused publish steps
- Removed the publish to PyPI and Docker image steps from the release-please workflow to streamline the process. - This change focuses on maintaining a cleaner and more efficient CI/CD pipeline.
1 parent 9821a64 commit c8fb0a5

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

.github/workflows/release-please.yaml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -24,38 +24,3 @@ jobs:
2424
with:
2525
config-file: .release-please-config.json
2626
token: ${{ secrets.GITHUB_TOKEN }}
27-
28-
publish-pypi:
29-
needs: release-please
30-
if: ${{ needs.release-please.outputs.release_created }}
31-
runs-on: ubuntu-latest
32-
steps:
33-
- uses: actions/checkout@v4
34-
- uses: asdf-vm/actions/install@v4
35-
- name: Publish to PyPI
36-
env:
37-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
38-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
39-
run: make publish-package
40-
41-
publish-docker:
42-
needs: release-please
43-
if: ${{ needs.release-please.outputs.release_created }}
44-
runs-on: ubuntu-latest
45-
strategy:
46-
matrix:
47-
arch: [linux/amd64, linux/arm64]
48-
steps:
49-
- uses: actions/checkout@v4
50-
with:
51-
fetch-tags: true
52-
- uses: asdf-vm/actions/install@v4
53-
- uses: docker/setup-qemu-action@v3
54-
- uses: docker/setup-buildx-action@v3
55-
- name: Publish Docker Image
56-
env:
57-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
GITHUB_ACTOR: ${{ github.actor }}
59-
CI: true
60-
DOCKER_DEFAULT_PLATFORM: ${{ matrix.arch }}
61-
run: make publish-image

0 commit comments

Comments
 (0)