Merge pull request #8 from jhollowe/master

Add multi-arch Docker build support
This commit is contained in:
Esteban Sanchez 2021-07-17 23:15:00 +02:00 committed by GitHub
commit e8dd24f731
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,9 @@ jobs:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
@ -37,4 +40,5 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: esanchezm/prometheus-qbittorrent-exporter:latest,esanchezm/prometheus-qbittorrent-exporter:${{ steps.extract_branch.outputs.tag }}
platforms: linux/amd64,linux/arm64,linux/386
tags: ${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter:latest,${{ secrets.REGISTRY_USERNAME }}/prometheus-qbittorrent-exporter:${{ steps.extract_branch.outputs.tag }}