Skip to content

failed to stat policy file Dockerfile.rego #171

Description

@mathieu-benoit

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

Time to time I'm getting this error:

Error: buildx failed with: ERROR: failed to build: failed to stat policy file Dockerfile.rego: failed to load cache key: expected checksum to match 8b828d46ca7dc4a4fe395ff92f843d391ddd3753, got cb62495ec10249da1d6478080ef0a908766b8180

Example here: https://github.com/score-spec/score-compose/actions/runs/24342599657/job/71081196258.

Sometimes, if I re-run the failed-job it will eventually pass successfully, but not always.

Anything I'm missing? My CI definition is here: https://github.com/score-spec/score-compose/blob/main/.github/workflows/ci.yaml#L46-L65.

Expected behaviour

This should not have any error consistently.

Actual behaviour

Getting this error:

Error: buildx failed with: ERROR: failed to build: failed to stat policy file Dockerfile.rego: failed to load cache key: expected checksum to match 8b828d46ca7dc4a4fe395ff92f843d391ddd3753, got cb62495ec10249da1d6478080ef0a908766b8180

Repository URL

https://github.com/score-spec/score-compose

Workflow run URL

https://github.com/score-spec/score-compose/actions/runs/24342599657/job/71081196258

YAML workflow

https://github.com/score-spec/score-compose/blob/main/.github/workflows/ci.yaml#L46-L65

Workflow logs

No response

BuildKit logs


Additional info

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions