From e251a8a50b0563785f02a4854af164b6fed15d8e Mon Sep 17 00:00:00 2001 From: Joshix-1 <57299889+Joshix-1@users.noreply.github.com> Date: Sun, 21 May 2023 18:29:29 +0200 Subject: [PATCH] chore: publish docker images on forks (#2106) --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c37771e1..1d8fe565 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,7 +22,7 @@ jobs: uses: docker/metadata-action@v4 with: images: | - ghcr.io/elk-zone/elk + ghcr.io/${{ github.repository }} - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx @@ -32,8 +32,8 @@ jobs: uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ github.actor }} + password: ${{ github.token }} - name: Build and push uses: docker/build-push-action@v4 with: