[Git][reproducible-builds/diffoscope][master] Separate out deploy-tag and deploy-pypi into different stages, and base the...
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Mon Nov 3 17:56:22 UTC 2025
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
8ba9c2ce by Chris Lamb at 2025-11-03T09:04:48-08:00
Separate out deploy-tag and deploy-pypi into different stages, and base the latter on debian:unstable.
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -79,18 +79,22 @@ deploy-devel:
deploy-tag:
extends: .deploy
- id_tokens:
- PYPI_ID_TOKEN:
- aud: pypi
only:
- /^[0-9]+$/
-
script:
- docker build -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG"
- docker tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" "$CI_REGISTRY_IMAGE:latest"
- docker push "$CI_REGISTRY_IMAGE"
+deploy-pypi:
+ image: debian:unstable
+ id_tokens:
+ PYPI_ID_TOKEN:
+ aud: pypi
+ only:
+ - /^[0-9]+$/
+ script:
- apt-get -q -y install --no-install-recommends twine
- python3 setup.py sdist
- twine check dist/*
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/8ba9c2ce974e79a597734ddfba6ed3cac83d6c5c
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/8ba9c2ce974e79a597734ddfba6ed3cac83d6c5c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20251103/d41b246a/attachment.htm>
More information about the rb-commits
mailing list