From c07e204b97c6eaf3b5c1779f0ba77fcd8661f814 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Tue, 10 Oct 2023 09:34:54 -0500 Subject: [PATCH] updated workflow --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 72133a62..e620ec77 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -67,13 +67,13 @@ jobs: uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 with: images: gtstef/filebrowser - - name: Modify DOCKER_METADATA_OUTPUT_JSON + - name: Strip v from version number id: modify-json run: | JSON="${{ steps.meta.outputs.tags }}" # Use jq to remove 'v' from the version field JSON=$(echo "$JSON" | sed 's/filebrowser:v/filebrowser:/') - echo "::set-output name=cleaned_tag::$JSON" + echo "cleaned_tag=$JSON" >> $GITHUB_OUTPUT - name: Build and push uses: docker/build-push-action@v5 with: