Skip to content

Commit

Permalink
Trying a different alternative for build args
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Nov 7, 2024
1 parent 3bad810 commit 586fb59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-dependencies:${{ steps.image-tag.outputs.tag }}
file: ./Containerfile.dependencies
build-args: |
pyrenew_version=${{ env.PYRENEW_VERSION }}
PYRENEW_VERSION=${{ env.PYRENEW_VERSION }}
build-pipeline-image:

Expand Down
4 changes: 2 additions & 2 deletions Containerfile.dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG pyrenew_version=v0.1.1
ARG PYRENEW_VERSION=v0.1.1

FROM python:3.12

Expand All @@ -7,6 +7,6 @@ RUN apt-get install -y r-base
RUN apt-get install -y cmake
RUN pip install --root-user-action=ignore -U pip
RUN pip install --root-user-action=ignore \
git+https://github.com/cdcgov/pyrenew.git@${pyrenew_version}
git+https://github.com/cdcgov/pyrenew.git@${PYRENEW_VERSION}

CMD ["bash"]

0 comments on commit 586fb59

Please sign in to comment.