Skip to content

Conversation

@HadrienPatte
Copy link
Member

@HadrienPatte HadrienPatte commented Aug 25, 2025

This PR updates the CI config to prevent the issue described in #385 from happening.

The latest version of the maker image, used in CI to build images, has a broken docker credentials setup. This PR does the following:

  • Use the standard docker/login-action action to handle login in and out of quay.io in CI
  • Drop dockerhub credentials as we haven't been publishing images to dockerhub for many years now
  • Remove the custom experimental docker credentials config that's causing the issue
    && echo '{ "experimental": "enabled", "credsStore" : "env" }' > /out/etc/docker/config.json \
    • Note: a followup PR will update the maker image so we don't need to remove this file like that on every CI job.

We can observe that this PR works as all the jobs successfully detect that images already exist and don't need to be rebuilt:

docker buildx create --platform linux/amd64,linux/arm64 --buildkitd-flags '--debug' > .buildx_builder
PUSH=false EXPORT=false scripts/build-image.sh ca-certificates images/ca-certificates linux/amd64,linux/arm64 "$(cat .buildx_builder)" quay.io/cilium
/usr/local/bin/crane
sha256:196f569534a1543775a81511c0df368fd34c4e812b5af1bc28948a4e95cddeae
image ca-certificates:1755531540-60ee83e is already present in all of the registries

@HadrienPatte HadrienPatte marked this pull request as ready for review August 25, 2025 21:28
@HadrienPatte HadrienPatte requested review from a team as code owners August 25, 2025 21:28
@tklauser tklauser merged commit ce2ccdc into master Sep 16, 2025
12 checks passed
@tklauser tklauser deleted the pr/HadrienPatte/docker-credentials branch September 16, 2025 14:38
HadrienPatte added a commit to cilium/cilium that referenced this pull request Sep 16, 2025
This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
HadrienPatte added a commit to cilium/cilium that referenced this pull request Sep 16, 2025
This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
HadrienPatte added a commit to cilium/cilium that referenced this pull request Sep 16, 2025
This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
HadrienPatte added a commit to cilium/cilium that referenced this pull request Sep 16, 2025
This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
joestringer pushed a commit to cilium/cilium that referenced this pull request Sep 16, 2025
This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 22, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 22, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 22, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 22, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 22, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 26, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 26, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Sep 26, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
github-merge-queue bot pushed a commit to cilium/cilium that referenced this pull request Sep 26, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
github-merge-queue bot pushed a commit to cilium/cilium that referenced this pull request Sep 29, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
pippolo84 pushed a commit to cilium/cilium that referenced this pull request Oct 6, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
github-merge-queue bot pushed a commit to cilium/cilium that referenced this pull request Oct 6, 2025
[ upstream commit 3642fc4 ]

This PR does the same thing as #41360. The initial issue has been
resolved with cilium/image-tools#386 but other
PRs (cilium/image-tools#387 and cilium/image-tools#383) have been merged before the fix PR, causing the issue to happen again.

Signed-off-by: Hadrien Patte <[email protected]>
Signed-off-by: Fabio Falzoi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants