Skip to content

Commit

Permalink
fix docker tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
tijcolem committed Mar 31, 2023
1 parent 1e6bf8a commit f1c55ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ci/publish_to_docker.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# load .env defines in root of repo
export $(egrep -v '^#' .env | xargs)
export WEB_REGISTRY_URI=boptest-service-web
export WORKER_REGISTRY_URI=boptest-service-worker


export WEB_REGISTRY_URI=boptest_service-web
export WORKER_REGISTRY_URI=boptest_service-worker
export DOCKER_HUB_WEB_REGISTRY_URI=nrel/boptest-web
export DOCKER_HUB_WORKER_REGISTRY_URI=nrel/boptest-worker

Expand All @@ -20,6 +18,7 @@ fi

if [[ "${VERSION_TAG}" == "develop" ]] || [[ "${VERSION_TAG}" =~ ^v[0-9].* ]] || [[ "${VERSION_TAG}" == "experimental" ]] ; then

docker image ls
docker tag ${WEB_REGISTRY_URI}:latest ${DOCKER_HUB_WEB_REGISTRY_URI}:${VERSION_TAG}; (( exit_status = exit_status || $? ))
docker tag ${WORKER_REGISTRY_URI}:latest ${DOCKER_HUB_WORKER_REGISTRY_URI}:${VERSION_TAG}; (( exit_status = exit_status || $? ))

Expand Down

0 comments on commit f1c55ff

Please sign in to comment.