Improved docker push github action

This commit is contained in:
Esteban Sánchez 2023-11-21 10:05:25 +01:00
parent 4ad22a60da
commit 234a4cfffa
No known key found for this signature in database
GPG Key ID: 9342C91BA286AB16

View File

@ -25,7 +25,10 @@ jobs:
with: with:
flavor: | flavor: |
latest=true latest=true
tags: type=semver,pattern=v{{version}} tags: |
type=semver,pattern=v{{version}}
type=ref,event=push
type=sha
images: ${{ github.actor }}/prometheus-qbittorrent-exporter images: ${{ github.actor }}/prometheus-qbittorrent-exporter
- name: Login to DockerHub - name: Login to DockerHub
@ -48,7 +51,10 @@ jobs:
with: with:
flavor: | flavor: |
latest=true latest=true
tags: type=semver,pattern=v{{version}} tags: |
type=semver,pattern=v{{version}}
type=ref,event=push
type=sha
images: ${{ github.actor }}/prometheus-qbittorrent-exporter images: ${{ github.actor }}/prometheus-qbittorrent-exporter
- name: Login to Github Container Registry - name: Login to Github Container Registry