Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

Commit ac26437

Browse files
author
sashayakovtseva
committed
Correctly set tag
1 parent 874070f commit ac26437

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.circleci/config.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,10 @@ jobs:
106106
- run:
107107
name: Publish images
108108
command: |
109-
echo 'export BRANCH=${CIRCLECI_BRANCH}' >> $BASH_ENV
110-
source $BASH_ENV
111-
112109
TAG=latest
113-
if [ "${BRANCH}" != "master" ]
110+
if [ "${CIRCLE_BRANCH}" != "master" ]
114111
then
115-
TAG=${BRANCH}
112+
TAG=${CIRCLE_BRANCH}
116113
fi
117114
118115
cd $GOPATH/src/github.com/sylabs/slurm-operator

0 commit comments

Comments
 (0)