Skip to content

Conversation

@gjarzebak95
Copy link
Contributor

Summary

  • Add permissions block with packages: write to allow pushing to GitHub Packages registry
  • Change Dockerfile CMD from shell form to JSON array format for proper OS signal handling

Problem

The CI workflow was failing with:

ERROR: denied: installation not allowed to Write organization package

Additionally, Docker was warning:

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals

Changes

  1. ci.yml: Added permissions block
  2. Dockerfile: Changed CMD to JSON array format

Test Plan

  • CI workflow completes successfully
  • Docker image is pushed to GitHub Packages

- Add permissions block with packages:write to allow pushing to
  GitHub Packages registry
- Change Dockerfile CMD from shell form to JSON array format
  to properly handle OS signals
@gjarzebak95 gjarzebak95 merged commit 0705009 into main Jan 14, 2026
1 check passed
@gjarzebak95 gjarzebak95 deleted the fix/SA-675-ci-permissions branch January 14, 2026 12:59
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.

3 participants