diff --git a/ci/docker-push.sh b/ci/docker-push.sh index 02a9369..cf46f23 100755 --- a/ci/docker-push.sh +++ b/ci/docker-push.sh @@ -4,8 +4,7 @@ set -e docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" docker login quay.io -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD" -docker build -t "$GITHUB_REPOSITORY" . -docker tag "$GITHUB_REPOSITORY" "$GITHUB_REPOSITORY:$1" "quay.io/$GITHUB_REPOSITORY" "quay.io/$GITHUB_REPOSITORY:$1" +docker build -t "$GITHUB_REPOSITORY" -t "$GITHUB_REPOSITORY:$1" -t "quay.io/$GITHUB_REPOSITORY" -t "quay.io/$GITHUB_REPOSITORY:$1" . docker push "$GITHUB_REPOSITORY" docker push "$GITHUB_REPOSITORY:$1" docker push "quay.io/$GITHUB_REPOSITORY"