WIP: Add registry-watcher image and separate docker-compose services #4438
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| jobs: | |
| docker: | |
| strategy: | |
| matrix: | |
| target: [ | |
| "web-server", | |
| "build-server", | |
| "registry-watcher", | |
| "cli" | |
| ] | |
| name: Test docker image builds | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: setup docker buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: build docker image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: "./dockerfiles/Dockerfile" | |
| platforms: linux/amd64 | |
| target: ${{ matrix.target }} | |
| build-args: | | |
| GIT_SHA=${{ github.sha }} | |
| PROFILE=release | |
| PROFILE_DIR=release | |
| load: true | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| push: false | |
| # TODO: later we would set `push: true` and also provide nice tags | |
| # for the images. | |
| # Unclear is how the deploy would work then. |