Skip to content

DockerHub Tags Are Out Of Sync With Source Repo #15

@the-wondersmith

Description

@the-wondersmith

While working on some improvements for the testcontainers-rs crate, I noticed several unit tests absolutely refused to pass on my local machine. I eventually tracked the issue down to an architecture mismatch for the testcontainers/helloworld image.

The tl;dr is:

Image

Image

Image

It would appear that something might be up with the build bot?

I'm able to do a sort of partial mitigation in the testcontainers-rs test suite by replacing instances of

GenericImage::new("testcontainers/helloworld", "1.1.0")

with

GenericImage::new("testcontainers/helloworld", std::env::var("TESTCONTAINERS_HELLO_WORLD_TAG").as_deref().unwrap_or("1.1.0"))

But it seems like it'd be a much better idea to ensure that the latest tag is actually in sync with the git repo, then change the test suite to target the latest tag instead of hard coding 1.1.0. (Or possibly to just use the same env var override I did 🤔. Something to be discussed in that repo I suppose 😅)

In either case, would it be possible to get the multi-arch images / latest tag synced up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions