Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-05-13 10:44:22 +01:00 committed by GitHub
parent af540183a6
commit cc02da47d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,17 +55,7 @@ jobs:
ghcr.io/${{ github.repository_owner }}/s-pdf
tags: |
${{ steps.versionNumber.outputs.versionNumber }}${{ github.ref == 'refs/heads/main' && '-alpha' || '' }}
- name: Generate tags 2
id: meta2
if: github.ref == 'refs/heads/master'
uses: docker/metadata-action@v4.4.0
with:
images: |
${{ secrets.DOCKER_HUB_USERNAME }}/s-pdf
ghcr.io/${{ github.repository_owner }}/s-pdf
tags: latest
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2.1.0