Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fix task agora-data:publish-image #2732

Closed
3 tasks done
tschaffter opened this issue Jun 27, 2024 · 2 comments
Closed
3 tasks done

[Bug] Fix task agora-data:publish-image #2732

tschaffter opened this issue Jun 27, 2024 · 2 comments
Labels
bug Something isn't working deployment Deployment of the stack and packages docker

Comments

@tschaffter
Copy link
Member

tschaffter commented Jun 27, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What product(s) are you seeing the problem on?

Agora

Current behavior

The CI/CD workflow fails to push the image during the task agora-data:publish-image to GHCR. The new "version" tags is pushed but not edge.

Workflow logs: https://github.com/Sage-Bionetworks/sage-monorepo/actions/runs/9688567621/job/26740065572

Package on GHCR: https://github.com/Sage-Bionetworks/Agora/pkgs/container/agora-data

cc @hallieswan

Expected behavior

No response

Anything else?

No response

Commit ID

No response

Are you developing inside the dev container?

  • I am using the dev container

Code of Conduct

  • I agree to follow this project's Code of Conduct
@tschaffter tschaffter added bug Something isn't working docker deployment Deployment of the stack and packages labels Jun 27, 2024
@hallieswan
Copy link
Collaborator

hallieswan commented Jun 27, 2024

The workflow fails with the following error:

#15 ERROR: denied: permission_denied: write_package
------
 > pushing ghcr.io/sage-bionetworks/agora-data:edge with docker:
------
ERROR: denied: permission_denied: write_package

>  Removing temp folder /tmp/docker-build-push-GTWlpr 


 NX   buildx failed with: ERROR: denied: permission_denied: write_package

Since we created the agora-data package from the current Sage-Bionetworks/Agora repo, the Sage-Bionetworks/sage-monorepo action doesn't have Actions access to the package and the workflow can't push a new image to the package.

Plan to fix:

@hallieswan
Copy link
Collaborator

The agora-data package now includes sha, edge, and data release version tags for images built by the sage-monorepo workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deployment Deployment of the stack and packages docker
Projects
None yet
Development

No branches or pull requests

2 participants