Create Docker Hub tag from secret

This commit is contained in:
Tom Plant
2023-04-22 10:12:14 +10:00
committed by GitHub
parent 96097d1cd3
commit 42564e683b

View File

@@ -51,7 +51,7 @@ jobs:
uses: docker/metadata-action@v4.4.0 uses: docker/metadata-action@v4.4.0
with: with:
images: | images: |
frooodle/s-pdf ${{ secrets.DOCKER_HUB_USERNAME }}/s-pdf
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' || '' }}