diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index d1900fbd1..77a9c7c9e 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -34,6 +34,12 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ env.REGISTRY_USERNAME }} password: ${{ env.REGISTRY_PASSWORD }} + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Prepare tags for Docker meta id: tags env: @@ -58,7 +64,9 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + images: | + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + ghcr.io/ellite/wallos tags: ${{ steps.tags.outputs.tags }} # necessary for multi-platform images - name: Set up QEMU @@ -82,4 +90,4 @@ jobs: with: args: "A new release has been created: ${{ steps.meta.outputs.tags }}" env: - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} \ No newline at end of file + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}