From c2acca1ca03e435f54008d604c0d97a2bf835435 Mon Sep 17 00:00:00 2001 From: casjay Date: Mon, 16 Dec 2024 08:58:36 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .github/workflows/publish.yaml --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3808281..cf86cfa 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -19,14 +19,14 @@ jobs: - name: Get Meta id: meta env: + HUB: ghcr.io ORG: casjaysdev TAG: ${{ vars.DOCKER_TAG }} - HUB: docker.io run: | echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT + echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "ghcr.io") >> $GITHUB_OUTPUT echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "latest") >> $GITHUB_OUTPUT - echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "docker.io") >> $GITHUB_OUTPUT echo DOCKER_ORG=$([ -n "$ORG" ] && echo "$ORG" || echo "casjaysdev") >> $GITHUB_OUTPUT echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT