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

Add the tag.sh Script #57

Merged
merged 2 commits into from
Jun 3, 2021
Merged

Add the tag.sh Script #57

merged 2 commits into from
Jun 3, 2021

Conversation

mcdonnnj
Copy link
Member

🗣 Description

This PR adds the tag.sh script from cisagov/skeleton-python-library to this repository.

💭 Motivation and context

Since Docker projects will build and push images to Docker Hub on tag pushes (through the GitHub Actions workflow), we should have a consistent manner of triggering this action. We use the tag.sh script in Python projects for a similar purpose so I thought it fitting to copy that script to this project type. Additionally this script has been used by older Docker projects that are not skeletonized for the same purpose (see cisagov/orchestrator, cisagov/cyhy-mailer and others).

🧪 Testing

I used this script to tag and push versions of cisagov/vdp-scanner-docker to get correct image pushes to Docker Hub.

✅ Checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

Since the GitHub Actions configuration builds images on tag pushes, we should
use the standard tagging script we use for the same purpose in other
repositories. This will make it easier to tag, build, and push Docker images
of a specific version in a standardized manner.
@mcdonnnj mcdonnnj added the improvement This issue or pull request will add or improve functionality, maintainability, or ease of use label May 10, 2021
@mcdonnnj mcdonnnj self-assigned this May 10, 2021
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

Good addition! 🏷️

Copy link
Member

@jsf9k jsf9k left a comment

Choose a reason for hiding this comment

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

👍

@mcdonnnj mcdonnnj added the blocked This issue or pull request is awaiting the outcome of another issue or pull request label May 12, 2021
@mcdonnnj mcdonnnj merged commit a42ebe6 into develop Jun 3, 2021
@mcdonnnj mcdonnnj deleted the improvement/add_tag_script branch June 3, 2021 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This issue or pull request is awaiting the outcome of another issue or pull request improvement This issue or pull request will add or improve functionality, maintainability, or ease of use
Projects
Development

Successfully merging this pull request may close these issues.

3 participants