Skip to content

Commit 8b0c2a9

Browse files
authored
Fix docker build issue (#104)
1 parent de95404 commit 8b0c2a9

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
CLEANCLOUD_VERSION="${{ steps.version.outputs.CLEANCLOUD_VERSION }}"
2626
echo "Waiting for cleancloud==${CLEANCLOUD_VERSION} to appear on PyPI..."
2727
for i in $(seq 1 20); do
28-
pip index versions cleancloud 2>/dev/null | grep -q "${CLEANCLOUD_VERSION}" && echo "Found on PyPI" && exit 0
28+
curl -sf "https://pypi.org/pypi/cleancloud/${CLEANCLOUD_VERSION}/json" > /dev/null && echo "Found on PyPI" && exit 0
2929
echo "Not yet available (attempt $i/20), retrying in 30s..."
3030
sleep 30
3131
done

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
environment: pypi
5656
permissions:
5757
id-token: write # Required for trusted publishing
58+
contents: write
5859

5960
steps:
6061
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "cleancloud"
7-
version = "1.7.2rc1"
7+
version = "1.7.2rc2"
88
description = "Reduce cloud costs through safe, read-only hygiene evaluation. Built for production environments with confidence-scored signals for AWS and Azure."
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)