Updated the workflow

This commit is contained in:
NATroutter
2026-01-14 03:15:49 +02:00
parent 5596459c84
commit 0cac89c9a5

View File

@@ -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
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest