Skip to content

Commit

Permalink
Fix attempt 2 - remote build failed, local suceeded
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionshiv committed Sep 17, 2024
1 parent e264e21 commit 9f7a24e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-push-dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ jobs:
tensorflow_version="${git_branch#tf-}" # remove prefix
tensorflow_version="${tensorflow_version%-*}" # remove suffix
base_image="tensorflow/tensorflow:${tensorflow_version}-jupyter"
framework="cpu"
image_name="pharmbio-notebook"
echo "IMAGE_NAME=$image_name" >> $GITHUB_ENV
echo "TAG=$tag" >> $GITHUB_ENV
echo "BASE_IMAGE=$base_image" >> $GITHUB_ENV
echo "FRAMEWORK=$framework" >> $GITHUB_ENV0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down
1 change: 1 addition & 0 deletions .inputrc
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
2 changes: 1 addition & 1 deletion docker/env.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARG BASE_IMAGE="tensorflow/tensorflow:latest" # Example default

FROM $BASE_IMAGE

ARG FRAMEWORK="cuda"
# ARG FRAMEWORK need to be after the build stage FROM (since it is used in another build process)
ARG FRAMEWORK

Expand Down

0 comments on commit 9f7a24e

Please sign in to comment.