diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1a7b2f670..381c4e200 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -30,8 +30,8 @@ jobs: - uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: lowercase repo run: | echo "REPO=${GITHUB_REPOSITORY@L}" >> "${GITHUB_ENV}" diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 8fd490eb9..de6d717ce 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -39,6 +39,9 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: lowercase repo + run: | + echo "REPO=${GITHUB_REPOSITORY@L}" >> "${GITHUB_ENV}" - uses: docker/build-push-action@v4 with: context: ./java