From 854919fe981b492c61953d450ad962e6be7941b1 Mon Sep 17 00:00:00 2001 From: johnson2427 <37009091+johnson2427@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:13:41 -0500 Subject: [PATCH] fix: ensure stable and latest releases are properly built (#131) * fix: keep stable but install silverback from wheel for latest * feat: release latest and stable workflow * fix: silverback entrypoint * fix: ensure we test build * fix: use startsWith * fix: always build latest only build stable on release * fix: debug stage was wrong * fix: remove stable sections * fix: remove latest from title --- .github/workflows/build.yaml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9cb153fe..7770e9cb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,7 +41,7 @@ jobs: - name: Show tags run: | echo "Tags generated by metadata-action:\n" - for tag in ${{ steps.metadata.output.tags }}; do + for tag in ${{ steps.meta.output.tags }}; do echo $tag done diff --git a/Dockerfile b/Dockerfile index b37afd5e..6703d6f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY . . # upgrade pip and install wheel RUN pip install --upgrade pip && pip install wheel # install silverback -RUN pip wheel . --wheel-dir=/wheels +RUN pip wheel . --wheel-dir=/wheels --no-deps # Install from wheels FROM ghcr.io/apeworx/ape:${BASE_APE_IMAGE_TAG:-latest} @@ -22,7 +22,7 @@ RUN pip install --upgrade pip \ --no-cache-dir --find-links=/wheels \ 'taskiq-sqs>=0.0.11' \ 'taskiq-redis>=1.0.2,<2' \ - silverback + /wheels/silverback-*.whl USER harambe