diff --git a/.gitea/workflows/image-publish.yml b/.gitea/workflows/image-publish.yml index 28dd95b..a0a5524 100644 --- a/.gitea/workflows/image-publish.yml +++ b/.gitea/workflows/image-publish.yml @@ -17,15 +17,15 @@ on: env: # Use docker.io for Docker Hub if empty - REGISTRY: ghcr.io + REGISTRY: git.harryesses.com # github.repository as / - IMAGE_NAME: ${{ github.repository }} + IMAGE_NAME: ${{ gitea.repository }} jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu permissions: contents: read packages: write @@ -58,8 +58,8 @@ jobs: uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 with: registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ gitea.actor }} + password: ${{ gitea.token }} # Extract metadata (tags, labels) for Docker # https://github.com/docker/metadata-action