From bccdc5d518443ccc8628cd0b76e99f3abd703112 Mon Sep 17 00:00:00 2001 From: ruzo Date: Tue, 28 May 2024 15:58:38 +0300 Subject: [PATCH] fix: docker build ci --- .github/workflows/docker.yml | 2 +- docker/push.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 55bad3ba..ec63b98b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -24,4 +24,4 @@ jobs: sh docker/build.sh -v no # push the image to the registry - sh docker/push.sh -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" + sh docker/push.sh -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" diff --git a/docker/push.sh b/docker/push.sh index 90d1fcd2..dfeb549c 100644 --- a/docker/push.sh +++ b/docker/push.sh @@ -61,6 +61,6 @@ $CONTAINER_TOOL login ghcr.io -u $USERNAME --password $PASSWORD $CONTAINER_TOOL push "$IMAGE_NAME:latest" # Execute docker push for specific version if VERSION is not "no" -if [ "$VERSION" == "no" ]; then +if [ "$VERSION" = "no" ]; then $CONTAINER_TOOL push "$IMAGE_NAME:$VERSION" fi