Skip to content

Commit

Permalink
fix: ensure stable and latest releases are properly built (#131)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
johnson2427 authored Oct 10, 2024
1 parent 4756575 commit 854919f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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

Expand Down

0 comments on commit 854919f

Please sign in to comment.