Skip to content

Commit 245cd36

Browse files
committed
ci: fix YAML syntax (with:, docker/metadata tags), add env.testpypi to job
1 parent fbaaaf4 commit 245cd36

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/ci-cd.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ jobs:
206206
id: meta
207207
uses: docker/metadata-action@v5
208208
with:
209-
images: ghcr.io/${{ steps.repo.outputs.name }}cenv.testpypi
209+
images: ghcr.io/${{ steps.repo.outputs.name }}
210+
tags: |
211+
type=ref,event=branch
210212
type=ref,event=pr
211213
type=ref,event=tag
212214
# Immer 'latest' Tag für den Default-Branch
@@ -261,6 +263,8 @@ jobs:
261263
repository-projects: write
262264
packages: write
263265
actions: write
266+
env:
267+
testpypi: ${{ secrets.TEST_PYPI_API_TOKEN }}
264268

265269
steps:
266270
- uses: actions/checkout@v4
@@ -327,7 +331,7 @@ jobs:
327331
- name: Download build artifacts for release (Fallback)
328332
if: success()
329333
uses: actions/download-artifact@v4
330-
with:c
334+
with:
331335
name: python-package
332336
path: dist/
333337

0 commit comments

Comments
 (0)