Skip to content

Commit a76e68a

Browse files
committed
Replace illegal characters in tag
1 parent 2101ce7 commit a76e68a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wercker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ build:
5555
password: $QUAY_PASSWORD
5656
email: $QUAY_EMAIL
5757
repository: quay.io/markxnelson/weblogic-kubernetes-operator
58-
tag: $WERCKER_GIT_BRANCH
58+
tag: ${WERCKER_GIT_BRANCH//[_/]/-}
5959
working-dir: "/operator"
6060
cmd: "operator.sh"
6161
env: "PATH=$PATH:/operator"
@@ -142,7 +142,7 @@ integration-test:
142142
kubectl create secret docker-registry quay-io -n weblogic-operator-2 --docker-server=quay.io --docker-username=$QUAY_USERNAME --docker-password=$QUAY_PASSWORD --docker-email=$QUAY_EMAIL
143143
144144
export IMAGE_NAME_OPERATOR="quay.io/markxnelson/weblogic-kubernetes-operator"
145-
export IMAGE_TAG_OPERATOR="$WERCKER_GIT_BRANCH"
145+
export IMAGE_TAG_OPERATOR="${WERCKER_GIT_BRANCH//[_/]/-}"
146146
export IMAGE_PULL_POLICY_OPERATOR="IfNotPresent"
147147
export IMAGE_PULL_SECRET_OPERATOR="quay-io"
148148
export IMAGE_PULL_SECRET_WEBLOGIC="docker-store"

0 commit comments

Comments
 (0)