From 4ee88141e80d84a5dc5c2cb15402ea32fd85339a Mon Sep 17 00:00:00 2001 From: "C. Spencer Beggs" Date: Sat, 3 Oct 2020 19:51:58 -0400 Subject: [PATCH] gitflow-release-stash: 1.2.0 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4036ca8..5586a72 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Prepare id: prep run: | - DOCKER_IMAGE=$(echo "$GITHUB_REPOSITORY") + DOCKER_IMAGE=ghcr.io/$(echo "$GITHUB_REPOSITORY") DOCKER_VERSION=noop if [ "${{ github.event_name }}" = "schedule" ]; then DOCKER_VERSION=nightly @@ -51,7 +51,7 @@ jobs: DOCKER_TAGS="${DOCKER_IMAGE}:${DOCKER_VERSION}" if [[ $DOCKER_VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then MINOR=${DOCKER_VERSION%.*} - MAJOR=${DOCKER_VERSION%.*} + MAJOR=${MINOR%.*} DOCKER_TAGS="$DOCKER_TAGS,${DOCKER_IMAGE}:${MINOR},${DOCKER_IMAGE}:${MAJOR},${DOCKER_IMAGE}:latest" elif [ "${{ github.event_name }}" = "push" ]; then DOCKER_TAGS="$DOCKER_TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"