Skip to content

Commit

Permalink
fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocicerchia committed Dec 16, 2021
1 parent e2b6cf5 commit 6dfcc55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function push_images() {
[[ $(docker image ls -q fabiocicerchia/nginx-lua:"$MAJOR$SUFFIX" | wc -l) -ne 0 ]] && docker_push "$MAJOR$SUFFIX"
[[ $(docker image ls -q fabiocicerchia/nginx-lua:"$MINOR$SUFFIX" | wc -l) -ne 0 ]] && docker_push "$MINOR$SUFFIX"
[[ $(docker image ls -q fabiocicerchia/nginx-lua:"$PATCH$SUFFIX" | wc -l) -ne 0 ]] && docker_push "$PATCH$SUFFIX"
[[ $(docker image ls -q fabiocicerchia/nginx-lua:latest$SUFFIX | wc -l) -ne 0 ]] && docker push fabiocicerchia/nginx-lua:latest$SUFFIX
[[ $(docker image ls -q fabiocicerchia/nginx-lua:latest$SUFFIX | wc -l) -ne 0 ]] && docker push "fabiocicerchia/nginx-lua:latest$SUFFIX"
fi

if [ "$LAST_VER_NGINX$LAST_VER_OS" == "11" ]; then
Expand All @@ -54,7 +54,7 @@ function push() {

SUFFIX=""

push_images $SUFFIX
push_images "$SUFFIX"
}

function push_compat() {
Expand All @@ -64,7 +64,7 @@ function push_compat() {

SUFFIX="-compat"

push_images $SUFFIX
push_images "$SUFFIX"
}

set -eux
Expand Down

0 comments on commit 6dfcc55

Please sign in to comment.