Add ghcr.io image name to the docker metadata action step

This commit is contained in:
Roberto Banić
2023-04-13 01:37:03 +02:00
parent 120d89e8be
commit 94d63a3fdb

View File

@@ -42,7 +42,9 @@ jobs:
if: "${{ env.DOCKER_USERNAME != '' }}" if: "${{ env.DOCKER_USERNAME != '' }}"
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: ${{ secrets.DOCKER_USERNAME }}/jellyplex-watched # list of Docker images to use as base name for tags images: |
${{ secrets.DOCKER_USERNAME }}/jellyplex-watched
ghcr.io/${{ secrets.DOCKER_USERNAME }}/jellyplex-watched
tags: | tags: |
type=raw,value=${{ matrix.variant }},enable={{is_default_branch}} type=raw,value=${{ matrix.variant }},enable={{is_default_branch}}
type=ref,event=branch,suffix=-${{ matrix.variant }} type=ref,event=branch,suffix=-${{ matrix.variant }}