@Test
public void hasImageTag() {

    assertThat(DockerCloudUtils.hasImageTag("my-image")).isFalse();
    assertThat(DockerCloudUtils.hasImageTag("my-image:1.0")).isTrue();
    assertThat(DockerCloudUtils.hasImageTag("my-repo/my-image")).isFalse();
    assertThat(DockerCloudUtils.hasImageTag("my-repo/my-image:1.0")).isTrue();
    assertThat(DockerCloudUtils.hasImageTag("localhost:5000/my-repo/my-image")).isFalse();
    assertThat(DockerCloudUtils.hasImageTag("localhost:5000/my-repo/my-image:1.0")).isTrue();
}