mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-24 00:59:28 +00:00
Fixed output reference
This commit is contained in:
parent
ed44d88c5b
commit
b91bff0f0c
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@ -19,7 +19,6 @@ jobs:
|
|||||||
- name: Extract branch name
|
- name: Extract branch name
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo $GITHUB_REF
|
|
||||||
tag=${GITHUB_REF#refs/tags/}
|
tag=${GITHUB_REF#refs/tags/}
|
||||||
tag=${tag#refs/heads/}
|
tag=${tag#refs/heads/}
|
||||||
if echo $tag | grep -q -E "[0-9]+\.[0-9]+\.[0-9]+"; then
|
if echo $tag | grep -q -E "[0-9]+\.[0-9]+\.[0-9]+"; then
|
||||||
@ -38,4 +37,4 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user