Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for docker hub image, include latest tag #111

Merged
merged 1 commit into from
Nov 1, 2024
Merged

for docker hub image, include latest tag #111

merged 1 commit into from
Nov 1, 2024

Conversation

elrayle
Copy link
Collaborator

@elrayle elrayle commented Oct 31, 2024

Description

Fix the crawler prod image not updating on deploy. This was caused by the current production crawlers use of the latest tag in Docker Hub to get the image to use and the deploy process through GH workflow not creating that tag.

Expected

On release of crawler prod, the deploy should update the production crawlers to the new release version.

Actual

On release of crawler prod, the deploy has no effect on the production crawlers.

Fix

Update the GH workflow process to create the latest tag in Docker Hub. The prod crawlers will be triggered to grab the new latest image and restart.

Testing

  • in test branch, updated crawler-dev deploy to add docker credentials to my docker hub
  • ran deploy dev on the test branch
  • confirmed that the version and latest tags were created in my docker hub

Follow-on

Update refs to this workflow to a new release version of operations that includes this PR. And then cut a release at that version that includes this and the PR that updates the version.

CC: @ljones140

@elrayle elrayle force-pushed the elr/tag-latest branch 2 times, most recently from 0b25a00 to 81c5c31 Compare November 1, 2024 02:41
The current production crawler uses the latest tag in Docker Hub to get the image to use.  When the process switches to using ghcr.io, it will use the version tag.

move tag from determine-image-name to ghcr and docker hub steps
@elrayle elrayle merged commit c8ce756 into main Nov 1, 2024
2 checks passed
@elrayle elrayle deleted the elr/tag-latest branch November 1, 2024 03:07
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.

2 participants