From 249504bcbf80dd518199ce52821c609f3f791371 Mon Sep 17 00:00:00 2001 From: Floris Puijk <60342568+Floris272@users.noreply.github.com> Date: Fri, 4 Oct 2024 16:42:03 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64f8e96..91994cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,7 +118,7 @@ jobs: # Strip "v" prefix from tag name (if present at all) [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') # Use Docker `latest` tag convention - [ "$VERSION" == "master" ] && VERSION=latest + [ "$VERSION" == "main" ] && VERSION=latest echo "tag=${VERSION}" >> $GITHUB_OUTPUT echo "git_hash=${GITHUB_SHA}" >> $GITHUB_OUTPUT - name: Build the Docker image @@ -185,7 +185,7 @@ jobs: [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') # Use Docker `latest` tag convention - [ "$VERSION" == "master" ] && VERSION=latest + [ "$VERSION" == "main" ] && VERSION=latest echo "tag=${VERSION}" >> $GITHUB_OUTPUT