Closed localagi closed 1 year ago
https://github.com/Josh-XT/AGiXT/actions/runs/5111667183/jobs/9188888271?pr=499
Don't think this is related but the build push action is not configured properly: https://github.com/Josh-XT/AGiXT/actions/runs/5111667183/jobs/9188888271?pr=499#step:15:1
buildkitd-flags
does not exist in this action: https://github.com/localagi/AI-pipeline/blob/3007b9776a982006265c1fb85622248c86a6bd25/.github/workflows/operation-docker-build-publish.yml#L214
Should be done in setup-buildx-action: https://github.com/docker/setup-buildx-action#inputs
The push works with the tag
:pr-123
into the target repository
Doesn't look possible from a public forked repo as stipulated in GitHub docs. See "Maximum access for pull requests from public forked repositories": https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token.
Troubleshooting
Before submitting a bug report please read the Troubleshooting doc.
=> Thanks, i added the debug flag
Behaviour
Steps to reproduce this issue
Expected behaviour
The push works with the tag
:pr-123
into the target repositoryActual behaviour
Login into registry works with
${github.actor}
Push should go to target repository, but fails.Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/josh-xt/agixt:pr-499: unexpected status: 403 Forbidden
Configuration
https://github.com/Josh-XT/AGiXT/actions/runs/5111667183/jobs/9188888271?pr=499
https://github.com/Josh-XT/AGiXT/blob/main/.github/workflows/publish-docker.yml
https://github.com/localagi/AI-pipeline/blob/main/.github/workflows/operation-docker-build-publish.yml
logs_2922.zip