From e46b7aaf358ea706cdbde440a1ad08533adbb822 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Fri, 19 May 2023 00:19:55 +0100 Subject: [PATCH] Update push-docker.yml --- .github/workflows/push-docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-docker.yml b/.github/workflows/push-docker.yml index 9176932e..71f497b6 100644 --- a/.github/workflows/push-docker.yml +++ b/.github/workflows/push-docker.yml @@ -54,7 +54,7 @@ jobs: ${{ secrets.DOCKER_HUB_USERNAME }}/s-pdf ghcr.io/${{ github.repository_owner }}/s-pdf tags: | - ${{ steps.versionNumber.outputs.versionNumber }} + type=raw,value=${{ steps.versionNumber.outputs.versionNumber }},enable=${{ github.ref == 'refs/heads/master' }} type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }} type=raw,value=alpha,enable=${{ github.ref == 'refs/heads/main' }} @@ -84,7 +84,7 @@ jobs: ${{ secrets.DOCKER_HUB_USERNAME }}/s-pdf ghcr.io/${{ github.repository_owner }}/s-pdf tags: | - ${{ steps.versionNumber.outputs.versionNumber }}-ultra-light + type=raw,value=${{ steps.versionNumber.outputs.versionNumber }}-ultra-light,enable=${{ github.ref == 'refs/heads/master' }} type=raw,value=latest-ultra-light,enable=${{ github.ref == 'refs/heads/master' }} type=raw,value=alpha-ultra-light,enable=${{ github.ref == 'refs/heads/main' }}