Skip to content

Commit 71bfc8b

Browse files
authored
ci: remove publish and publish-docker jobs (#91)
1 parent b4f9b10 commit 71bfc8b

File tree

3 files changed

+5
-66
lines changed

3 files changed

+5
-66
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- '*'
99
pull_request:
1010
workflow_dispatch:
11+
workflow_run:
12+
workflows: ["release-please"]
13+
types:
14+
- completed
1115

1216
permissions:
1317
contents: read

.github/workflows/release-please.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -21,68 +21,3 @@ jobs:
2121
with:
2222
config-file: "release-please-config.json"
2323
manifest-file: ".release-please-manifest.json"
24-
25-
publish:
26-
needs: release-please
27-
runs-on: ubuntu-latest
28-
if: ${{ needs. release-please.outputs.release_created }}
29-
30-
steps:
31-
- name: Checkout
32-
uses: actions/checkout@v6
33-
34-
- name: Install uv
35-
uses: astral-sh/setup-uv@v7
36-
with:
37-
version: "0.9.*"
38-
enable-cache: true
39-
python-version: "3.13"
40-
41-
- name: Install dependencies
42-
run: uv sync
43-
44-
- name: Build package
45-
run: uv build
46-
47-
- name: Publish to PyPI
48-
env:
49-
UV_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
50-
UV_PUBLISH_PASSWORD: ${{ secrets. PYPI_PASSWORD }}
51-
run: uv publish dist/*
52-
53-
publish-docker:
54-
needs: release-please
55-
runs-on: ubuntu-latest
56-
if: ${{ needs.release-please.outputs.release_created }}
57-
58-
steps:
59-
- name: Checkout
60-
uses: actions/checkout@v6
61-
62-
- name: Set up Docker Buildx
63-
uses: docker/setup-buildx-action@v3
64-
65-
- name: Log in to GitHub Container Registry
66-
uses: docker/login-action@v3
67-
with:
68-
registry: ghcr.io
69-
username: ${{ github.actor }}
70-
password: ${{ secrets.GITHUB_TOKEN }}
71-
72-
- name: Extract metadata
73-
id: meta
74-
uses: docker/metadata-action@v5
75-
with:
76-
images: ghcr.io/${{ github.repository }}
77-
tags: |
78-
type=raw,value=${{ needs.release-please.outputs.tag_name }}
79-
type=raw,value={{date 'YYYYMMDD-HHmmss' tz='UTC'}}
80-
type=raw,value=latest
81-
82-
- name: Build and push
83-
uses: docker/build-push-action@v6
84-
with:
85-
context: .
86-
push: true
87-
tags: ${{ steps.meta. outputs.tags }}
88-
labels: ${{ steps.meta.outputs. labels }}

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)