From 0e34820ffee6f2ed3f15257f449c77988cbc83e3 Mon Sep 17 00:00:00 2001 From: coconut49 Date: Tue, 24 Oct 2023 12:53:20 +0800 Subject: [PATCH] Refactor Docker workflow to remove unnecessary curly braces in variable references. --- .github/workflows/docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b906230e6d..566ebcf12b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -29,15 +29,15 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ghcr.io/${{ REPOSITORY_LC }} + images: ghcr.io/${ REPOSITORY_LC } - name: Get tag to build id: tag run: | - echo "latest=ghcr.io/${{ REPOSITORY_LC }}:latest" >> $GITHUB_OUTPUT + echo "latest=ghcr.io/${ REPOSITORY_LC }:latest" >> $GITHUB_OUTPUT if [[ -z "${{ github.event.inputs.tag }}" ]]; then - echo "versioned=ghcr.io/${{ REPOSITORY_LC }}:${{ github.ref_name }}" >> $GITHUB_OUTPUT + echo "versioned=ghcr.io/${ REPOSITORY_LC }:${{ github.ref_name }}" >> $GITHUB_OUTPUT else - echo "versioned=ghcr.io/${{ REPOSITORY_LC }}:${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT + echo "versioned=ghcr.io/${ REPOSITORY_LC }:${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT fi - name: Build and release Docker images uses: docker/build-push-action@v5