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

Tag Docker image with Git tag when building, and pin that tag in the Dockerfile #199

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

jnm
Copy link
Member

@jnm jnm commented Dec 16, 2024

Also, upgrade the actions used to build the Docker image in GitHub Actions

(actions in the actions)

with:
image: kobotoolbox/reports_base
tags: latest
Copy link
Member Author

Choose a reason for hiding this comment

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

By default, if you do not pass a tags input this action will use an algorithm based on the state of your git repo to determine the Docker image tag(s)

https://github.com/mr-smithers-excellent/docker-build-push?tab=readme-ov-file#auto-tagging-with-gitops

@duvld duvld merged commit 879e990 into master Dec 23, 2024
@duvld duvld deleted the pin-docker-base-image-tag branch December 23, 2024 21:01
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