From c7a6be7676b1576a3601c95e86c124eb2f024f8e Mon Sep 17 00:00:00 2001 From: Ryan Hodin Date: Wed, 31 Jul 2024 21:39:12 -0500 Subject: [PATCH] Rename variable Not sure why this is trying to add in extra stuff here... This commit fixes #252. --- .github/workflows/build-and-push.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 1ae23b60..f3c0c13e 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -71,30 +71,30 @@ jobs: - name: Build Cadence server image run: | IMAGE=kenellorando/cadence - declare -a tags + declare -a flags for tag in "${{ env.tags }}" do - tags+=("-t $IMAGE:$tag") + flags+=("-t $IMAGE:$tag") done - docker build ${tags[@]} -f src/cadence.Dockerfile src + docker build ${flags[@]} -f src/cadence.Dockerfile src - name: Build icecast2 image run: | IMAGE=kenellorando/cadence_icecast2 - declare -a tags + declare -a flags for tag in "${{ env.tags }}" do - tags+=("-t $IMAGE:$tag") + flags+=("-t $IMAGE:$tag") done - docker build ${tags[@]} -f src/icecast2.Dockerfile src + docker build ${flags[@]} -f src/icecast2.Dockerfile src - name: Build liquidsoap image run: | IMAGE=kenellorando/cadence_liquidsoap - declare -a tags + declare -a flags for tag in "${{ env.tags }}" do - tags+=("-t $IMAGE:$tag") + flags+=("-t $IMAGE:$tag") done - docker build ${tags[@]} -f src/liquidsoap.Dockerfile src + docker build ${flags[@]} -f src/liquidsoap.Dockerfile src - name: Login to Docker Hub if: env.push == 'true' uses: docker/login-action@v3