Skip to content

WIP: Add registry-watcher image and separate docker-compose services #4439

WIP: Add registry-watcher image and separate docker-compose services

WIP: Add registry-watcher image and separate docker-compose services #4439

Workflow file for this run

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.