Commit 0231784
committed
Add CI workflow to build and push container images
Introduced a GitHub Actions workflow to automate building and pushing
container images for the API and Blazor projects. The workflow triggers
on `push` events to the `develop` branch and includes the following:
- Configured permissions for `contents: read` and `packages: write`.
- Added a `build-and-push` job running on `ubuntu-latest`.
- Steps include:
- Checkout repository code using `actions/checkout@v4`.
- Setup .NET SDK version `10.0.x` using `actions/setup-dotnet@v4`.
- Log in to GitHub Container Registry (GHCR) using `GITHUB_TOKEN`.
- Build and publish container images for API and Blazor projects.
- Push the container images to GHCR.
This workflow ensures the latest container images are built and stored
in the registry for the `develop` branch.1 parent 5707e32 commit 0231784
1 file changed
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments