Error when using Github Actions and building with Docker 23 persists
In #29 @tobiasc laid out screenshots and information demonstrating an error when running the action in Docker 23. #30 was intended to fix this and has since been merged to master, however, when using master per the README I continue to experience this error.
I tried using v13, the tag associated with @tobiasc 's fix just in case but found that did not work either.
docker_publish:
runs-on: "ubuntu-20.04"
steps:
- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@v13
with:
image_name: ${{ github.repository }}
image_tag: $(date +%s)
github_token: ${{ secrets.GITHUB_TOKEN }}
Interesting, docker 24.x does not seem to trigger that issue:
@thomaspaulin - can you try setting runs-on: "ubuntu-20.04" in your action and see if that "solves" the issue?
Also, can you please try re-running the action using the master version (with the docker build command being logged thanks to #35)?
Something is fishy with Ubuntu's package with Docker. Running chown inside the Dockerfile does not work (https://github.com/moby/moby/issues/46161).