QuPRS 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of QuPRS might be problematic. Click here for more details.
- quprs-0.2.1/.github/workflows/docker-build.yml +50 -0
- {quprs-0.2.0 → quprs-0.2.1}/.github/workflows/python-publish.yml +1 -1
- {quprs-0.2.0 → quprs-0.2.1}/PKG-INFO +1 -1
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/_version.py +2 -2
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/PKG-INFO +1 -1
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/SOURCES.txt +1 -0
- {quprs-0.2.0 → quprs-0.2.1}/.github/workflows/pytest.yml +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/.gitignore +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/LICENSE.md +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/MANIFEST.in +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/NOTICE.md +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/README.md +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/pyproject.toml +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/setup.cfg +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/__init__.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/cache_manager/__init__.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/cache_manager/cache_decorator.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/cache_manager/global_cache_manager.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/config.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/__init__.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/gate_library.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/load_qiskit.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/ps2wmc.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/qasm2qc.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/pathsum.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/Qiskit_Circuit_Utils.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/__init__.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/gpmc +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/reduction.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/strategy.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/util.py +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/dependency_links.txt +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/requires.txt +0 -0
- {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Build and Push to Multiple Registries
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "main" ]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build-and-push:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
# Step 1: Set permissions
|
|
12
|
+
# To push to GHCR, packages: write permission is required
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
packages: write
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
# Step 2: Checkout your project source code
|
|
19
|
+
- name: Checkout repository
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
# Step 3: Log in to GitHub Container Registry (GHCR)
|
|
23
|
+
- name: Log in to GHCR
|
|
24
|
+
uses: docker/login-action@v3
|
|
25
|
+
with:
|
|
26
|
+
registry: ghcr.io
|
|
27
|
+
username: ${{ github.actor }}
|
|
28
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
29
|
+
|
|
30
|
+
# Step 4: Log in to Docker Hub
|
|
31
|
+
- name: Log in to Docker Hub
|
|
32
|
+
uses: docker/login-action@v3
|
|
33
|
+
with:
|
|
34
|
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
35
|
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
36
|
+
|
|
37
|
+
# Step 5: Build the image and push to all registries at once
|
|
38
|
+
# This is the most important step
|
|
39
|
+
- name: Build and push to both registries
|
|
40
|
+
uses: docker/build-push-action@v5
|
|
41
|
+
with:
|
|
42
|
+
context: .
|
|
43
|
+
push: true
|
|
44
|
+
# Key: Use multiline string to define all target tags
|
|
45
|
+
# The action will parse each tag and push to the corresponding registry
|
|
46
|
+
tags: |
|
|
47
|
+
ghcr.io/${{ github.repository }}:latest
|
|
48
|
+
ghcr.io/${{ github.repository }}:${{ github.sha }}
|
|
49
|
+
${{ secrets.DOCKERHUB_USERNAME }}/quprs:latest
|
|
50
|
+
${{ secrets.DOCKERHUB_USERNAME }}/quprs:${{ github.sha }}
|
|
@@ -52,5 +52,5 @@ jobs:
|
|
|
52
52
|
body: |
|
|
53
53
|
## 🚀 Release Notes
|
|
54
54
|
* **📦 Version:** `${{ github.ref_name }}`
|
|
55
|
-
* **🔗 PyPI Link:** https://pypi.org/project/${{ github.
|
|
55
|
+
* **🔗 PyPI Link:** https://pypi.org/project/${{ github.event.repository.name }}/${{ github.ref_name }}
|
|
56
56
|
* 🛠️ This release was automatically generated by GitHub Actions.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|