diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 79a5b8b64..bd00495bd 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -67,6 +67,13 @@ jobs: username: ${{ secrets.docker_hub_username }} password: ${{ secrets.docker_hub_access_token }} + - name: Log in to the Container registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push uses: docker/build-push-action@v5 with: @@ -79,6 +86,8 @@ jobs: tags: | jasongdove/ersatztv:${{ inputs.base_version }}${{ matrix.suffix }} jasongdove/ersatztv:${{ inputs.tag_version }}${{ matrix.suffix }} + ghcr.io/ersatztv/ersatztv:${{ inputs.base_version }}${{ matrix.suffix }} + ghcr.io/ersatztv/ersatztv:${{ inputs.tag_version }}${{ matrix.suffix }} if: ${{ matrix.name != 'arm64' && matrix.name != 'arm32v7' }} - name: Build and push @@ -94,6 +103,8 @@ jobs: tags: | jasongdove/ersatztv:${{ inputs.base_version }}${{ matrix.suffix }} jasongdove/ersatztv:${{ inputs.tag_version }}${{ matrix.suffix }} + ghcr.io/ersatztv/ersatztv:${{ inputs.base_version }}${{ matrix.suffix }} + ghcr.io/ersatztv/ersatztv:${{ inputs.tag_version }}${{ matrix.suffix }} if: ${{ matrix.name == 'arm64' }} - name: Build and push @@ -109,4 +120,6 @@ jobs: tags: | jasongdove/ersatztv:${{ inputs.base_version }}${{ matrix.suffix }} jasongdove/ersatztv:${{ inputs.tag_version }}${{ matrix.suffix }} + ghcr.io/ersatztv/ersatztv:${{ inputs.base_version }}${{ matrix.suffix }} + ghcr.io/ersatztv/ersatztv:${{ inputs.tag_version }}${{ matrix.suffix }} if: ${{ matrix.name == 'arm32v7' }}