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 ghcr.io/${{ github.repository_owner }}/s-pdf
tags: | tags: |
${{ steps.versionNumber.outputs.versionNumber }}${{ github.ref == 'refs/heads/main' && '-alpha' || '' }} ${{ steps.versionNumber.outputs.versionNumber }}${{ github.ref == 'refs/heads/main' && '-alpha' || '' }}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
- 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
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2.1.0 uses: docker/setup-qemu-action@v2.1.0