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

feat(GHA): add gha for API #6032

Merged

Conversation

pedrooot
Copy link
Member

@pedrooot pedrooot commented Dec 5, 2024

Description

This pull request introduces a new GitHub Actions workflow to automate the build and push process for API containers. The workflow is triggered by pushes to the master branch and published releases, and it includes steps for setting up the environment, logging into DockerHub, and building and pushing the container images.

Key changes include:

  • Added a new workflow configuration file .github/workflows/api-build-lint-push-containers.yml to automate the build and push process for API containers.
  • Configured the workflow to trigger on pushes to the master branch and published releases.
  • Set up environment variables for DockerHub repository, image names, and Python version.
  • Included steps for checking out the code, setting up Python, logging into DockerHub, and building and pushing container images.

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Dec 5, 2024
@jfagoagas jfagoagas marked this pull request as ready for review December 12, 2024 15:15
@jfagoagas jfagoagas requested a review from a team as a code owner December 12, 2024 15:15
drewkerrigan
drewkerrigan previously approved these changes Dec 12, 2024
Copy link
Member

@drewkerrigan drewkerrigan left a comment

Choose a reason for hiding this comment

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

Thanks @jfagoagas!

…-deploy' and 'PRWLR-5476-oss-api-gha-to-create-container-images-and-deploy' of github.com:prowler-cloud/prowler into PRWLR-5476-oss-api-gha-to-create-container-images-and-deploy
Copy link
Member

@drewkerrigan drewkerrigan left a comment

Choose a reason for hiding this comment

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

🚀

@jfagoagas jfagoagas self-requested a review December 12, 2024 18:05
@jfagoagas jfagoagas merged commit dc4e2f3 into master Dec 12, 2024
9 checks passed
@jfagoagas jfagoagas deleted the PRWLR-5476-oss-api-gha-to-create-container-images-and-deploy branch December 12, 2024 18:05
@jfagoagas jfagoagas added the backport-to-v5.0 Backport PR to the v5.0 branch label Dec 18, 2024
@prowler-bot prowler-bot added the was-backported The PR was successfully backported to the target branch label Dec 18, 2024
@prowler-bot
Copy link
Collaborator

💚 All backports created successfully

Status Branch Result
v5.0

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v5.0 Backport PR to the v5.0 branch github_actions Pull requests that update GitHub Actions code was-backported The PR was successfully backported to the target branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants