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

Workflow to build and publish docker image #54

Merged
merged 4 commits into from
Mar 22, 2023

Conversation

nitaibezerra
Copy link
Contributor

Description

This Pull Request adds a new GitHub Actions workflow file that builds and publishes a Docker image to the GitHub Container Registry. The workflow is triggered by Git tag pushes.

Changes Made

  • Added a new YAML file to the .github/workflows/ directory that describes the workflow.
  • The workflow consists of several steps that perform actions such as checking out the code, setting up Docker Buildx, logging in to the GitHub Container Registry, and building/pushing the Docker image.

Reason for Changes

The reason for creating this workflow is to automate the process of building and publishing Docker images to the GitHub Container Registry whenever a new Git tag is pushed. This will save time and effort for developers who need to build and distribute Docker images.

Testing Done

The workflow was tested locally and verified that the Docker image was built and pushed to the GitHub Container Registry successfully.

Repository name must be lowercase.
Publishes another image under a tagged url.
Repository name must be lowercase.
@edulauer edulauer merged commit 1f334b0 into gestaogovbr:main Mar 22, 2023
@nitaibezerra nitaibezerra deleted the gha_publish_image branch March 27, 2023 08:24
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