mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2026-11-25 15:39:46 +00:00
Improved docker push github action
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -27,7 +27,7 @@ jobs:
|
||||
latest=auto
|
||||
tags: |
|
||||
# minimal
|
||||
type=pep440,pattern=v{{version}}
|
||||
type=semver,pattern=v{{version}}
|
||||
images: ${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter
|
||||
|
||||
- name: Login to DockerHub
|
||||
@@ -42,6 +42,7 @@ jobs:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/386
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Docker meta
|
||||
id: metaghcr
|
||||
@@ -51,7 +52,7 @@ jobs:
|
||||
latest=auto
|
||||
tags: |
|
||||
# minimal
|
||||
type=pep440,pattern=v{{version}}
|
||||
type=semver,pattern=v{{version}}
|
||||
images: ${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter
|
||||
|
||||
- name: Login to Github Container Registry
|
||||
@@ -67,3 +68,4 @@ jobs:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/386
|
||||
tags: ${{ steps.metaghcr.outputs.tags }}
|
||||
labels: ${{ steps.metaghcr.outputs.labels }}
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.6'
|
||||
python-version: '3.11'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
Reference in new issue
Block a user