CERT-Polska / mwdb-core

Malware repository component for samples & static configuration with REST API interface.
https://mwdb.readthedocs.io/
Other
321 stars 73 forks source link

no matching manifest for linux/amd64 in the manifest list entries #525

Closed diogosimao closed 2 years ago

diogosimao commented 2 years ago

Environment information

Behaviour the bug (what happened?)

An error occurs when que command docker pull certpl/mwdb:v2.6.0 is executed

Expected behaviour

I expected a succefull pull output like:

v2.6.0-dev1: Pulling from certpl/mwdb-web Digest: sha256:a58ffb737802549082df2fa633c84282674a0419294629456bfc28e3f16d6e33 Status: Image is up to date for certpl/mwdb-web:v2.6.0-dev1 docker.io/certpl/mwdb-web:v2.6.0-dev1

Reproduction Steps

Executing docker pull certpl/mwdb:v2.6.0

Screenshots

image

Additional context

psrok1 commented 2 years ago

Thanks for bug report! And uh, that looks weird. Somehow stable images tagged as v2.6.0 are completely empty on Docker Hub image

I will inspect the Github Actions workflow if it's our fault or we just triggered some temporary bug while publishing the release.

psrok1 commented 2 years ago

@diogosimao: Ok, I pushed correct images for the v2.6.0 release to Docker Hub and tested locally. Would you like to check if it works for you as well?

I completely don't know what happened but our pipeline has started producing empty images that were pushed to Docker registry. I turned off all caching for release pipeline and it looks to work correctly right now (#526).

Maybe it's somehow related with another GHA cache issue that has broken our pipeline recently (https://github.com/CERT-Polska/mwdb-core/pull/516). Unfortunately Github Actions are not very stable yet, so these problems happen from time to time. I need to investigate further whether it's my fault (e.g. by violating some not very well-documented constraint that GHA cache should not be shared across jobs) or it's just a known bug.

diogosimao commented 2 years ago

Awesome :D Works like a charm.