Skip to content

Commit

Permalink
fix: swtich ape_version to base_ape_image_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Aug 24, 2024
1 parent 5684f2b commit 51b500e
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 @@ -65,4 +65,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
APE_VERSION=latest-slim
BASE_APE_IMAGE_TAG=latest-slim
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#---------------------------------------------------------------------------------------------

# Build with builder image to reduce image size
ARG APE_VERSION
ARG BASE_APE_IMAGE_TAG
FROM python:3.11 as builder
USER root
WORKDIR /wheels
Expand All @@ -14,7 +14,7 @@ RUN pip install --upgrade pip && pip install wheel
RUN pip wheel . --wheel-dir=/wheels

# Install from wheels
FROM ghcr.io/apeworx/ape:${APE_VERSION:-latest-slim}
FROM ghcr.io/apeworx/ape:${BASE_APE_IMAGE_TAG:-latest-slim}
USER root
COPY --from=builder /wheels /wheels
RUN pip install --upgrade pip \
Expand Down

0 comments on commit 51b500e

Please sign in to comment.