Commit graph

25 commits

Author SHA1 Message Date
Facundo Tuesca
36978192ca
Add nudge message with magic link to create new Trusted Publisher
Some checks failed
🧪 / smoke-test (push) Has been cancelled
PR #250

Co-authored-by: Sviatoslav Sydorenko <sviat@redhat.com>
2024-09-05 17:25:58 +02:00
William Woodruff
8a08d61689
Expose PEP 740 attestations functionality
Some checks failed
🧪 / smoke-test (push) Has been cancelled
PR #236

This patch adds PEP 740 attestation generation to the workflow: when the Trusted Publishing flow is used, this will generate a publish attestation for each distribution being uploaded. These generated attestations are then fed into `twine`, which newly supports them via `--attestations`.

Ref: https://github.com/pypi/warehouse/issues/15871
2024-09-01 02:50:29 +02:00
Sviatoslav Sydorenko
87b624f871
💅Update homepage @ Dockerfile to GH Marketplace 2024-05-29 22:25:10 +02:00
Brendon Smith
abbea2dd5c Add Docker label for GHCR
This commit will add the label `org.opencontainers.image.source` to the
Dockerfile. This label helps link GitHub Container Registry (GHCR) with
the associated repo.

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry
https://github.com/pypa/gh-action-pypi-publish/pull/230/files#r1603926630
2024-05-29 22:18:35 +02:00
Sviatoslav Sydorenko
3a817c6dce
Bump action runtime to CPython 3.12 2024-03-08 00:15:38 +01:00
Hugo van Kemenade
135d0d5353 Ignore pip's root user warning 2023-05-29 13:42:14 +03:00
William Woodruff
2b46bad8cb
OIDC beta support
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2023-03-15 17:08:09 -04:00
Sviatoslav Sydorenko
5d1679fa6b
Use py3.11 user-global site-packages in PYTHONPATH 2022-12-03 04:18:27 +01:00
Sviatoslav Sydorenko
d2a2496a01
Switch the runtime from Python 3.9 to Python 3.11 2022-12-03 02:46:45 +01:00
Sviatoslav Sydorenko
d7edd4c957
Add user-global site-packages to $PYTHONPATH 2022-11-30 11:37:45 +01:00
Sviatoslav Sydorenko
8d5f27cca4
Install Twine in the user-global site-packages 2022-11-30 11:17:41 +01:00
Sviatoslav Sydorenko
b0dc178d8e
Disable pip cache dir with an env var 2022-11-30 11:17:12 +01:00
Sviatoslav Sydorenko
bbf6e0b2f0
Copy requirements to corresponding dir @ container
This corrects the mistake of setting wrong target directory made
earlier in c54db9c2b7.
2022-11-30 11:03:33 +01:00
Sviatoslav Sydorenko
c54db9c2b7
Integrate pip-tools-generated constraint files
This patch adds constraint files with the dependency tree
generated by `pip-compile` under Python 3.9. They are now integrated
into the action container image.

Refs:
* https://github.com/pypa/gh-action-pypi-publish/issues/101
* https://github.com/pypa/gh-action-pypi-publish/issues/107
2022-11-30 10:17:33 +01:00
meowmeowcat
fc71be69fe Add print-hash.py to Dockerfile 2022-01-08 12:14:48 +08:00
Sviatoslav Sydorenko
27b31702a0
Use Python 3.9 in runtime 2021-02-08 18:13:46 +01:00
Sviatoslav Sydorenko
9f41657646
Use wheels over newer sdists in pip install twine
Fixes #50
Fixes #51
2021-02-08 18:13:17 +01:00
Sviatoslav Sydorenko
a5f9cf8db0
Upgrade pip in the docker container
Fixes #56
2021-02-08 18:11:53 +01:00
Sviatoslav Sydorenko
bf7a320fba
Bump the docker image to use Python 3.8 2020-06-04 01:11:14 +02:00
Sviatoslav Sydorenko
f3ebf87ba2
Update metadata LABELs in Dockerfile 2019-08-23 13:37:41 +02:00
Sviatoslav Sydorenko
8225ac386c
Use relative paths in Dockerfile 2019-08-23 13:30:16 +02:00
Mathias Fussenegger
25d67dc298 Adapt to new yml based github actions
Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2019-08-23 10:53:21 +02:00
Sviatoslav Sydorenko
0bc3d275be
Upgrade metadata in the Dockerfile definition 2019-05-26 19:50:01 +02:00
Sviatoslav Sydorenko
da3b2dad9a
📄🐳 Relicense the repo to BSD 3-clause
Also include it into a docker image
2019-03-29 23:21:12 +01:00
Sviatoslav Sydorenko
ea3fbc950e
Add an initial GitHub Action declaration 2019-03-27 20:41:20 +01:00