Skip to content

Commit

Permalink
Enable multi-arch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinblack committed Sep 10, 2023
1 parent abfa98c commit df63ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
with:
image_name: ${{ github.event.repository.name }}
image_tag: 'latest'
multi_arch: true
secrets:
QUAY_NAMESPACE: ${{ secrets.QUAY_NAMESPACE }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG package=arcaflow_plugin_example
# STAGE 1 -- Build module dependencies and run tests
# The 'poetry' and 'coverage' modules are installed and verson-controlled in the
# quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase image to limit drift
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase:0.2.0@sha256:7b72424c08c51d1bb6215fac0e002fd9d406b6321dcd74233ea53ec653280be8 as build
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase:0.3.1 as build
ARG package

COPY poetry.lock /app/
Expand All @@ -26,7 +26,7 @@ RUN python -m coverage run tests/test_${package}.py \


# STAGE 2 -- Build final plugin image
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:0.2.0@sha256:a57baf7714d13b4fb0a01551990eed927b1f1251cd502ad01bcb05ffeeff31d8
FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:0.3.1
ARG package

COPY --from=build /app/requirements.txt /app/
Expand Down

0 comments on commit df63ae3

Please sign in to comment.