From 84d878751ccd1ba1522ce9dd0efdad419aca9857 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 1 May 2023 00:03:06 +0200 Subject: [PATCH] docker/build-push-action@v4: Invalid token specified Cannot read properties of undefined (reading 'replace') --- .forgejo/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 693de6b..f917cb1 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -91,6 +91,9 @@ jobs: echo "image=${{ steps.registry.outputs.host-port }}/${{ github.repository }}:${tag}" >> "$GITHUB_OUTPUT" - uses: https://github.com/docker/build-push-action@v4 + # workaround until https://github.com/docker/build-push-action/commit/d8823bfaed2a82c6f5d4799a2f8e86173c461aba is in @v4 or @v5 is released + env: + ACTIONS_RUNTIME_TOKEN: '' with: context: . push: true