Skip to content

Conversation

@glemieux
Copy link
Collaborator

No description provided.

@glemieux
Copy link
Collaborator Author

This is currently failing due to permission errors for some reason:

#18 pushing layers
#18 ...
#19 [auth] ngeet/containers/spack-env:pull,push token for ghcr.io
#19 DONE 0.0s
#18 exporting to image
#18 pushing layers 0.6s done
#18 ERROR: failed to push ghcr.io/ngeet/containers/spack-env:latest: denied: installation not allowed to Create organization package

@glemieux
Copy link
Collaborator Author

The push failure may be due to the github action workflow permissions (not the organization package permissions) being set to read only. This has been updated and retesting.

My understanding is that it may be better practice to either run tests prior to pushing (see "Test before push" in the build-push-action examples) when running via a PR or to not run via a PR at all an push on a different trigger (after having passed other test checks triggered by the PR).

@glemieux glemieux merged commit 6ddf486 into NGEET:main Jun 23, 2025
0 of 3 checks passed
@glemieux glemieux deleted the case-fix-workaround-for-docker-build-action branch June 23, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant