Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
Sense branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
rcthomas committed Nov 27, 2018
1 parent 846583d commit 8692a73
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

branch=deploy-18-10
branch=$(git symbolic-ref --short HEAD)
docker build --no-cache -t registry.spin.nersc.gov/das/jupyterhub-base.$branch:latest .
2 changes: 1 addition & 1 deletion jupyter-dev/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

branch=deploy-18-10
branch=$(git symbolic-ref --short HEAD)

docker build \
--build-arg branch=$branch \
Expand Down
7 changes: 6 additions & 1 deletion jupyter-spin/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash

docker build --no-cache -t registry.spin.nersc.gov/das/jupyterhub-jupyter-spin.gaffer:latest .
branch=$(git symbolic-ref --short HEAD)

docker build \
--build-arg branch=$branch \
--no-cache \
--tag registry.spin.nersc.gov/das/jupyterhub-jupyter-spin.$branch:latest .

0 comments on commit 8692a73

Please sign in to comment.