Update push-docker.yml
This commit is contained in:
parent
af540183a6
commit
cc02da47d7
1 changed files with 2 additions and 12 deletions
12
.github/workflows/push-docker.yml
vendored
12
.github/workflows/push-docker.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue