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

Set explicit Docker permissions #997

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Set explicit Docker permissions #997

merged 1 commit into from
Jan 19, 2024

Conversation

charliermarsh
Copy link
Member

No description provided.

Comment on lines +170 to +171
# For: `permissions: packages: write`.
allow-dirty = ["ci"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do they not support this? Do we lose all the safety guarantees of release won't run if the generated workflow is modified?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, yes. Please bear with me, there was a lot of discussion about this in the Axo Discord, I am trying to understand GitHub's permission model. We should not be publishing from a build step (we should be publishing from a publish step), but GitHub doesn't seem to allow us to build a multi-platform image and publish it in a separate step. I spent time trying to figure it out earlier this week.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(To be clear, I'm testing off this branch, so I'm hoping I won't have to merge this. If I do, it will be temporary as I'll ask Axo team for help.)

@charliermarsh
Copy link
Member Author

Okay, merging this for now while I work with the Axo team to remove it.

@charliermarsh charliermarsh enabled auto-merge (squash) January 19, 2024 05:17
@charliermarsh charliermarsh merged commit 980e1f6 into main Jan 19, 2024
3 checks passed
@charliermarsh charliermarsh deleted the charlie/perm branch January 19, 2024 05:29
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.

2 participants