mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-24 00:59:28 +00:00
Improved docker push github action
This commit is contained in:
parent
a6a4129daf
commit
e2a8508cae
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
latest=auto
|
latest=auto
|
||||||
tags: |
|
tags: |
|
||||||
# minimal
|
# minimal
|
||||||
type=pep440,pattern=v{{version}}
|
type=semver,pattern=v{{version}}
|
||||||
images: ${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter
|
images: ${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
@ -42,6 +42,7 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64,linux/386
|
platforms: linux/amd64,linux/arm64,linux/386
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: metaghcr
|
id: metaghcr
|
||||||
@ -51,7 +52,7 @@ jobs:
|
|||||||
latest=auto
|
latest=auto
|
||||||
tags: |
|
tags: |
|
||||||
# minimal
|
# minimal
|
||||||
type=pep440,pattern=v{{version}}
|
type=semver,pattern=v{{version}}
|
||||||
images: ${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter
|
images: ${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter
|
||||||
|
|
||||||
- name: Login to Github Container Registry
|
- name: Login to Github Container Registry
|
||||||
@ -67,3 +68,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64,linux/386
|
platforms: linux/amd64,linux/arm64,linux/386
|
||||||
tags: ${{ steps.metaghcr.outputs.tags }}
|
tags: ${{ steps.metaghcr.outputs.tags }}
|
||||||
|
labels: ${{ steps.metaghcr.outputs.labels }}
|
||||||
|
2
.github/workflows/pythonpublish.yml
vendored
2
.github/workflows/pythonpublish.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: '3.6'
|
python-version: '3.11'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user