From dd4bbe0642631c7b43b88ae0c950bbe4ce955350 Mon Sep 17 00:00:00 2001 From: Tyler Marr Date: Fri, 5 Apr 2024 09:23:08 -0500 Subject: [PATCH] Add distro to branch name for docker tag --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9ac669ab..254ddd4c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -56,8 +56,8 @@ jobs: - name: Set TAG variable id: set_tag run: | - if [[ "${{ steps.meta.outputs.version }}" == "main" ]] || [[ "${{ github.event_name }}" == "pull_request" ]]; then - echo "TAG=master" >> $GITHUB_ENV + if [[ "${{ steps.meta.outputs.version }}" == "${{ matrix.distro }}-main" ]] || [[ "${{ github.event_name }}" == "pull_request" ]]; then + echo "TAG=${{ matrix.distro }}-master" >> $GITHUB_ENV else echo "TAG=${{ steps.meta.outputs.version }}" >> $GITHUB_ENV fi