Skip to content

Commit

Permalink
Implement docker pull and run to setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PhongT16 committed Jun 6, 2023
1 parent 9f9e830 commit 4f025fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
REGISTRY=ghcr.io
REPO=ncsa/vacation_calendar_sync
BRANCH=main

# Pulls the latest image from main branch
docker pull $REGISTRY/$REPO:$BRANCH

# Change it so that it pulls latest from main
docker pull $REGISTRY/$REPO:main
#docker pull ghcr.io/ncsa/vacation_calendar_sync:1685990588_logging_feature_54634f5

#docker run -it --name ncsa_vacation_calendar_sync --mount type=bind,source=$HOME,dst=/home $REGISTRY/$REPO
# Creates a docker container
docker run -it --name ncsa_vacation_calendar_sync --mount type=bind,source=$HOME,dst=/home $REGISTRY/$REPO:$BRANCH

0 comments on commit 4f025fa

Please sign in to comment.