我有很多 GitHub 操作将构建的 docker 图像推送到GitHub Container Repository。
基本上,我所做的是在我的工作中有两个步骤:
- name: Log in to GitHub Container Repository
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push the image
run: |
docker push ghcr.io/organization_name_here/repository_name_here:latest
这适用于我所有的组织和存储库。
但是,对于一个非常特殊的存储库,我收到此错误:
Run docker push ghcr.io/organization_name_here/repository_name_here:latest
The push refers to repository [ghcr.io/holismreact/webrtc]
e6ff916ab651: Preparing
9d5288bc1c41: Preparing
bf5ee69d004a: Preparing
20e664c3d99e: Preparing
b3031b5001d5: Preparing
a303372b2caa: Preparing
39982b2a789a: Preparing
a303372b2caa: Waiting
39982b2a789a: Waiting
denied: permission_denied: write_package
Error: Process completed with exit code 1.
我怎样才能解决这个问题?