From 0cac89c9a58a45d56cc5d2000863f6d02aa2ca36 Mon Sep 17 00:00:00 2001 From: NATroutter Date: Wed, 14 Jan 2026 03:15:49 +0200 Subject: [PATCH] Updated the workflow --- .github/workflows/action.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index c1b5a5d..ee26145 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -6,8 +6,7 @@ on: env: REGISTRY: ghcr.io - USERNAME: natroutter - IMAGE: natroutter/egg-hytale + IMAGE_NAME: ${{ github.repository }} jobs: publish: @@ -26,7 +25,7 @@ jobs: uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} - username: ${{ env.USERNAME }} + username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push @@ -35,4 +34,4 @@ jobs: context: . push: true tags: | - ${{ env.REGISTRY }}/${{ env.IMAGE }}:latest \ No newline at end of file + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \ No newline at end of file