Skip to content

Commit

Permalink
add arch build arg to container
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Dec 14, 2023
1 parent a070861 commit 60c744c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-matrices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
build-args: |
${{ env.build_args }}
--build-arg ARCH=${{ matrix.arch }}
ARCH=${{ matrix.arch }}
tags: ${{ env.container_name }}
3 changes: 2 additions & 1 deletion rocky/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG tag=8
ARG ARCH=x86_64
FROM spack/rockylinux${tag}:latest as builder
ARG ARCH=x86_64
ENV ARCH=${ARCH}

# Specify flux deps in the spack manifest file (spack.yaml)
RUN mkdir /opt/spack-environment \
Expand Down
3 changes: 2 additions & 1 deletion ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG tag=jammy
ARG ARCH=x86_64
FROM spack/ubuntu-${tag}:latest as builder
ARG ARCH=x86_64
ENV ARCH=${ARCH}

# What we want to install and how we want to install it
# is specified in a manifest file (spack.yaml)
Expand Down

0 comments on commit 60c744c

Please sign in to comment.