Skip to content

[chore] push docker images to docker hub - #7263

Open
atoulme wants to merge 4 commits into
mainfrom
push_images_to_docker_hub
Open

atoulme wants to merge 4 commits into
mainfrom
push_images_to_docker_hub

Conversation

@atoulme

@atoulme atoulme commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Add logic to push docker images to both docker hub and quay.

@atoulme
atoulme requested review from a team as code owners February 25, 2026 23:17
Comment thread .gitlab-ci.yml
docker buildx imagetools create --tag ${IMAGE_NAME}:${latest_tag} ${IMAGE_NAME}:${arch_tag}
fi
echo "${IMAGE_NAME}:${arch_tag}" > tags_to_sign_${arch}
echo "${IMAGE_NAME}:${arch_tag}" >> tags_to_sign_${arch}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any specific reason for this change or just good form?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we now have 2 jobs in parallel, I got spooked that file can be overridden. I think the name of the file might even need to be unique per parallel run

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file is uploaded as an artifact so you need to add ${BASE_TAG} to the file name and ensure that wherever it is used it is properly finding the expected files. I mean it already handles ${arch} you need to ensure that it also handles the addition of ${BASE_TAG} to the name.

@atoulme
atoulme force-pushed the push_images_to_docker_hub branch from a2982a8 to 0bad871 Compare February 25, 2026 23:25
@codecov

codecov Bot commented Feb 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.93%. Comparing base (88baa0b) to head (e22c3d4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7263      +/-   ##
==========================================
- Coverage   49.48%   48.93%   -0.56%     
==========================================
  Files         303      318      +15     
  Lines       19898    20625     +727     
==========================================
+ Hits         9847    10092     +245     
- Misses       9444     9913     +469     
- Partials      607      620      +13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .gitlab-ci.yml
script:
- *docker-reader-role
- docker login -u $CIRCLECI_QUAY_USERNAME -p $CIRCLECI_QUAY_PASSWORD quay.io
- - docker login -u splunk -p $DOCKER_HUB_TOKEN

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- - docker login -u splunk -p $DOCKER_HUB_TOKEN
- docker login -u splunk -p $DOCKER_HUB_TOKEN

also, should the username be hidden? or is the org name/repo namespace also username for dockerhub?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can hide it, I'll do that

@atoulme
atoulme force-pushed the push_images_to_docker_hub branch from 458eedd to f571593 Compare March 5, 2026 07:41
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.

3 participants