forked from jitsi/docker-jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: split unstable build and test workflows (jitsi#1601)
* ci: split unstable build and test workflows In order to make multi-arch builds the buildx action will use the docker-container driver, which does not support loading images, and thus the jvb image won't be built based on the "base-java" image, in turn based on the "base" image. That works only when pushing. If we setup buildx to use the "docker" driver it will just build for the current architecture, but it will properly load images and the base images will be used correctly. One downside is that jobs cannot be run in parallel, but it seems to be Fast Enough (R) for now.
- Loading branch information
Showing
2 changed files
with
84 additions
and
134 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: CI Test Build | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
with: | ||
driver: docker | ||
|
||
- name: Build base | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./base | ||
load: true | ||
tags: | | ||
jitsi/base:latest | ||
build-args: | | ||
JITSI_RELEASE=unstable | ||
- name: Build base-java | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./base-java | ||
load: true | ||
tags: | | ||
jitsi/base-java:latest | ||
- name: Build jibri | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./jibri | ||
load: true | ||
tags: | | ||
jitsi/jibri:latest | ||
- name: Build jicofo | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./jicofo | ||
load: true | ||
tags: | | ||
jitsi/jicofo:latest | ||
- name: Build jigasi | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./jigasi | ||
load: true | ||
tags: | | ||
jitsi/jigasi:latest | ||
- name: Build jvb | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./jvb | ||
load: true | ||
tags: | | ||
jitsi/jvb:latest | ||
- name: Build prosody | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./prosody | ||
load: true | ||
tags: | | ||
jitsi/prosody:latest | ||
- name: Build web | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./web | ||
load: true | ||
tags: | | ||
jitsi/web:latest |
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