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

Github Actions fails at Create and Push Manifest File step of tag_manifest job #98

Closed
alexiswl opened this issue May 22, 2023 · 0 comments · Fixed by #99
Closed

Github Actions fails at Create and Push Manifest File step of tag_manifest job #98

alexiswl opened this issue May 22, 2023 · 0 comments · Fixed by #99
Assignees
Labels
bug Something isn't working

Comments

@alexiswl
Copy link
Member

Action

See action: https://github.com/umccr/RNAsum/actions/runs/5041902971/jobs/9043544763#step:4:224

Error

Error was: ghcr.io/umccr/rnasum:0.4.7-linux-amd64 is a manifest list

Notes

Other things to note:

  • The actual build process completed.
  • Docker image exists under packages but not in the same format as previous packages.
  • An 'unknown' tag exists in the packages section.

If we search the 'unknown' tag's shasum (e6eabc12c3e7e2d38e09fe833aa1116db1253fbe19931055e0c28b03e60f5a3d) in the GitHub Actions logs we can see that we have the following lines:

2023-05-22T06:43:44.1758218Z #27 exporting manifest sha256:35cd38b09f7c67703956ab33333e7fb14b012146644e49d384c72c16dafec347 done
2023-05-22T06:43:44.1758696Z #27 exporting config sha256:44352c1564f4e6ba18ff987523d774c0c5b9125bd15e0403d9671e10178308d1 done
2023-05-22T06:43:44.1759213Z #27 exporting attestation manifest sha256:e6eabc12c3e7e2d38e09fe833aa1116db1253fbe19931055e0c28b03e60f5a3d done
2023-05-22T06:43:44.1759668Z #27 exporting manifest list sha256:78d1dc34868c253c036f9824e9f21266806e3f324c9e68ca928be12a4b14d89e done

And that even though this is the build step for the linux/amd64 architecture, we have exported a manifest list?

Related Issues

Suggested solutions

From the issues above, it is suggested that we add 'provenance: false' to our buildx setup.

It may also be worth upgrading some of the GH Action versions at the same time.

@alexiswl alexiswl added the bug Something isn't working label May 22, 2023
@alexiswl alexiswl self-assigned this May 22, 2023
alexiswl added a commit that referenced this issue May 22, 2023
* Updated ::set-output syntax to $GITHUB_OUTPUT syntax
* Update docker/* actions to latest versions
  * setup-qemu-action: v1 -> v2
  * setup-buildx-action: v1 -> v2
  * login-action: v1 -> v2
  * build-push-action: v2 -> v4

Fixes #98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant