!= instead of -ne

This commit is contained in:
Jason Hall 2021-04-30 22:37:10 -04:00
parent 47862890e7
commit b252e116f6

View File

@ -45,7 +45,7 @@ jobs:
KO_DOCKER_REPO: already-set KO_DOCKER_REPO: already-set
- name: Check pre-set KO_DOCKER_REPO - name: Check pre-set KO_DOCKER_REPO
run: | run: |
if [[ ${KO_DOCKER_REPO} -ne "already-set"]]; then if [[ "${KO_DOCKER_REPO}" != "already-set"]]; then
echo "${KO_DOCKER_REPO} != already-set" echo "${KO_DOCKER_REPO} != already-set"
exit 1 exit 1
fi fi