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: pipelines with GitHub Actions #37

Merged
merged 35 commits into from
Jan 25, 2024
Merged

Conversation

prlanzarin
Copy link
Member

@prlanzarin prlanzarin commented Jan 19, 2024

@fcecagno:

Add four pipelines:

  • run hadolint in the Dockerfile
  • run tests using npm run test
  • run trivy in the repository
  • build and push the docker image, and run trivy in the built image

Run workflows on PR create/update and tag.

Configuring:

Add the following secrets to the GitHub repo:

REGISTRY_USERNAME
REGISTRY_TOKEN
They are the credentials to be used to push the image to the docker images registry.

Add the following variables to the GitHub repo:

REGISTRY_URI
REGISTRY_ORGANIZATION
Considering the image bigbluebutton/bbb-webhooks:v3.0.0, the value for REGISTRY_URI would be docker.io (URI for DockerHub) and REGISTRY_ORGANIZATION would be bigbluebutton. The image name bbb-webhooks isn't configurable, and the tag will be the GitHub tag OR pr-<pr number>.

@antobinary
Copy link
Member

Beautiful! 👏

@fcecagno
Copy link
Member

@antobinary please see here the details on what vars and secrets must be set in the repository: https://github.com/mconf/bbb-webhooks/blob/pipeline/.github/workflows/README.md

@prlanzarin prlanzarin merged commit 7f15167 into bigbluebutton:develop Jan 25, 2024
1 check passed
@prlanzarin
Copy link
Member Author

This has been squashed and manually pushed into develop.

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.

3 participants