Workflow file for this run
This file contains 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: build and release docker images | |
on: | |
push: | |
branches: | |
- "@noituri/docker-on-release" | |
jobs: | |
live-compositor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout repo | |
uses: actions/checkout@v4 | |
- name: 🛠️ Setup Docker | |
run: | | |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
docker run --privileged --rm tonistiigi/binfmt --install all | |
- uses: depot/use-containerd-snapshotter-action@v1 | |
- name: 🔨 Build Live Compositor image | |
run: | | |
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/software-mansion/live-compositor:${{ github.sha }} -f build_tools/docker/slim.Dockerfile . | |
- name: 📤 Upload image | |
run: docker push ghcr.io/software-mansion/live-compositor:${{ github.sha }} | |
live-compositor-with-web-renderer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout repo | |
uses: actions/checkout@v4 | |
- name: 🛠️ Setup Docker | |
run: | | |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
docker run --privileged --rm tonistiigi/binfmt --install all | |
- uses: depot/use-containerd-snapshotter-action@v1 | |
- name: 🔨 Build Live Compositor with Web Renderer image | |
run: | | |
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/software-mansion/live-compositor:${{ github.sha }}-web-renderer -f build_tools/docker/full.Dockerfile . | |
- name: 📤 Upload image | |
run: docker push ghcr.io/software-mansion/live-compositor:${{ github.sha }}-web-renderer |