From b91bff0f0c6f257a9f503d1547e31fd4656e069e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20S=C3=A1nchez?= Date: Sat, 24 Oct 2020 11:36:24 +0200 Subject: [PATCH] Fixed output reference --- .github/workflows/docker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a885dfb..52d25fa 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,7 +19,6 @@ jobs: - name: Extract branch name shell: bash run: | - echo $GITHUB_REF tag=${GITHUB_REF#refs/tags/} tag=${tag#refs/heads/} if echo $tag | grep -q -E "[0-9]+\.[0-9]+\.[0-9]+"; then @@ -38,4 +37,4 @@ jobs: uses: docker/build-push-action@v2 with: push: true - tags: esanchezm/prometheus-qbittorrent-exporter:latest,esanchezm/prometheus-qbittorrent-exporter:${{ steps.extract_branch.outputs.branch }} + tags: esanchezm/prometheus-qbittorrent-exporter:latest,esanchezm/prometheus-qbittorrent-exporter:${{ steps.extract_branch.outputs.tag }}