Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using Github Actions and building with Docker 23 persists #33

Open
thomaspaulin opened this issue Aug 22, 2023 · 3 comments
Open
Assignees

Comments

@thomaspaulin
Copy link

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 }}

push-to-ghcr-fail

@macbre
Copy link
Owner

macbre commented Sep 5, 2023

Interesting, docker 24.x does not seem to trigger that issue:

Screenshot 2023-09-05 at 17 20 24

@macbre
Copy link
Owner

macbre commented Sep 5, 2023

@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)?

macbre added a commit that referenced this issue Sep 5, 2023
Let's debug that nasty bug

See #33
@macbre
Copy link
Owner

macbre commented Sep 6, 2023

Something is fishy with Ubuntu's package with Docker. Running chown inside the Dockerfile does not work (moby/moby#46161).

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

No branches or pull requests

2 participants