diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6ee6842..0bc2850 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -14,9 +14,8 @@ on: workflow_dispatch: env: - REGISTRY_USER: ${{ github.repository_owner }} - REPO_URL: https://davejansen.dev/${{ github.repository_owner }}/${{ - github.event.repository.name }} + REGISTRY: ${{ REGISTRY || 'davejansen.dev' }} + REGISTRY_USER: ${{ REGISTRY_USER || github.actor }} concurrency: group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ @@ -58,7 +57,7 @@ jobs: - name: Login to Container Registry uses: docker/login-action@v3 with: - registry: ${{ env.IMAGE_REGISTRY }} + registry: ${{ env.REGISTRY }} username: ${{ env.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }}