You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have another repo under that organization and the pipeline works and pushes the images normally. #981 mentions renaming the tag in image, which I tried but still no avail. Read and write permissions are enabled for the actions in the repo settings and this is the workflow file:
Expected behaviour
The image should be built and pushed to Github container registry
Actual behaviour
Fails with error code 403 forbidden
Repository URL
No response
Workflow run URL
No response
YAML workflow
name: CI for staging branchenv:
VERSION: '0.1.5'on:
push:
branches:
- stagingpull_request:
branches:
- stagingjobs:
deploy:
runs-on: [ self-hosted, Linux, X64 ]steps:
- name: Set up Docker Buildxuses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registryuses: docker/login-action@v3with:
registry: ghcr.iousername: ${{ github.actor }}password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker imageuses: docker/build-push-action@v5with:
context: .push: truetags: ghcr.io/${{ github.repository }}:staging-${{ env.VERSION }}
Workflow logs
No response
BuildKit logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered:
Contributing guidelines
I've found a bug, and:
Description
Hello,
I am having trouble pushing to Github's container registry from the CI, I keep getting:
I have another repo under that organization and the pipeline works and pushes the images normally. #981 mentions renaming the tag in image, which I tried but still no avail. Read and write permissions are enabled for the actions in the repo settings and this is the workflow file:
Expected behaviour
The image should be built and pushed to Github container registry
Actual behaviour
Fails with error code 403 forbidden
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
No response
BuildKit logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: