Skip to content

Commit

Permalink
remove parallel input, use ENV variable instead of ARG
Browse files Browse the repository at this point in the history
  • Loading branch information
bquan0 committed Aug 22, 2023
1 parent d4cddd3 commit 64dae49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
server-stage: pyne
quiet: false
tag-latest-on-default: false
parallel: true
dockerfile: docker/ubuntu_22.04-dev.dockerfile
build-args: build_hdf5=${{ matrix.hdf5_build_arg }}, pyne_test_base=${{ env.pyne_test_base }}

Expand Down
7 changes: 3 additions & 4 deletions docker/ubuntu_22.04-dev.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG build_hdf5="NO"
ARG build_pyne="NO"
ARG pyne_test_base=openmc
ENV pyne_base=${pyne_test_base}
ARG ubuntu_version=22.04

FROM ubuntu:${ubuntu_version} AS base_python
Expand Down Expand Up @@ -134,8 +135,7 @@ RUN if [ "$build_hdf5" != "NO" ]; then \
&& pip install .

# Build/Install PyNE from develop branch
ARG pyne_test_base
FROM ${pyne_test_base} AS pyne-dev
FROM ${pyne_base} AS pyne-dev
ARG build_hdf5
ARG build_pyne

Expand All @@ -159,8 +159,7 @@ RUN if [ "$build_pyne" = "YES" ]; then \
&& ./ci-run-tests.sh python3

# Build/Install PyNE from release branch
ARG pyne_test_base
FROM ${pyne_test_base} AS pyne
FROM ${pyne_base} AS pyne
ARG build_hdf5
ARG build_pyne

Expand Down

0 comments on commit 64dae49

Please sign in to comment.