I have a github action that is pushing releases to ghcr:
steps:
- uses: actions/checkout@v2
- run: ls -lah
- name: Build image
run: docker build ChallengePad --file ChallengePad/Dockerfile --tag challengepad:nightly
- name: Log into GitHub Container Registry
run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u legofan --password-stdin
- name: Push image to GitHub Container Registry
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
echo IMAGE_NAME=$IMAGE_NAME
echo IMAGE_ID=$IMAGE_ID
docker tag $IMAGE_NAME:nightly $IMAGE_ID:nightly
docker images | grep 'challengepad'
docker push $IMAGE_ID
It builds a nightly image and pushes it to ghcr.io, and if I am authenticated I can pull it with docker pull. However I’d like to make the image public, and after reading this thread I assumed I should be seeing the image in the project or the organization:
As you can see there are no images being shown.
How do I make my image public?