Skip to content

Commit

Permalink
Removing wildcard check for security-compliace name (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey-williams-rh authored Sep 22, 2023
1 parent 284bc7c commit 7bb9415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rhcicd/build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ docker --config="$DOCKER_CONF" login -u="$RH_REGISTRY_USER" -p="$RH_REGISTRY_TOK
docker --config="$DOCKER_CONF" build -t "${IMAGE}:${IMAGE_TAG}" . -f src/main/docker/Dockerfile.jvm
docker --config="$DOCKER_CONF" push "${IMAGE}:${IMAGE_TAG}"

if [[ $GIT_BRANCH == *"security-compliance"* ]]; then
if [[ $GIT_BRANCH == "security-compliance" ]]; then
docker --config="$DOCKER_CONF" tag "${IMAGE}:${IMAGE_TAG}" "${IMAGE}:${SECURITY_COMPLIANCE_TAG}"
docker --config="$DOCKER_CONF" push "${IMAGE}:${SECURITY_COMPLIANCE_TAG}"
else
Expand Down

0 comments on commit 7bb9415

Please sign in to comment.