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: automate container build with GitHub Actions #52

Merged
merged 12 commits into from
Nov 30, 2022

Conversation

Angelmmiguel
Copy link
Contributor

@Angelmmiguel Angelmmiguel commented Nov 29, 2022

Automate the creation of containers using GitHub Actions. This will push the images to the GitHub Package Registry. In addition to that, we are also trying to reduce the size of the produced images.

I created two different actions:

  • Preview: runs on every commit in main
  • Release: runs on every new vX.X.X tag

The code is duplicated, but I plan to refactor all actions and make some parts reusable in a separate PR.

Here you have the created package: https://github.com/vmware-labs/wasm-workers-server/pkgs/container/wws

Closes #50 and #24

@Angelmmiguel Angelmmiguel added the 🚀 enhancement New feature or request label Nov 29, 2022
@Angelmmiguel Angelmmiguel self-assigned this Nov 29, 2022
@Angelmmiguel Angelmmiguel marked this pull request as ready for review November 30, 2022 12:17
Copy link
Contributor

@ereslibre ereslibre left a comment

Choose a reason for hiding this comment

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

Great! 👏, some comments.

.github/workflows/container-preview.yml Outdated Show resolved Hide resolved
.github/workflows/container-preview.yml Outdated Show resolved Hide resolved
.github/workflows/container-release.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@ereslibre ereslibre left a comment

Choose a reason for hiding this comment

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

🚢 it! 👏

@Angelmmiguel Angelmmiguel merged commit 5b4ca6d into main Nov 30, 2022
@Angelmmiguel Angelmmiguel deleted the 50-automate-container-build branch May 8, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create the container image in GitHub Actions
3 participants