123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- name: Unstable Build
- on:
- pull_request:
- schedule:
- - cron: "0 6 * * *"
- workflow_dispatch:
- jobs:
- version:
- runs-on: ubuntu-latest
- outputs:
- base: unstable
- date: unstable-${{ steps.date.outputs.date }}
- steps:
- - name: Get current date
- id: date
- run: echo "::set-output name=date::$(date +%F)"
- base:
- runs-on: ubuntu-latest
- needs: version
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./base
- tags: |
- ${{ secrets.JITSI_REPO }}/base:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/base:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_RELEASE=unstable
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./base
- tags: |
- jitsi/base:${{ needs.version.outputs.base }}
- jitsi/base:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_RELEASE=unstable
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- base-java:
- runs-on: ubuntu-latest
- needs: [version, base]
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./base-java
- tags: |
- ${{ secrets.JITSI_REPO }}/base-java:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/base-java:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=${{ secrets.JITSI_REPO }}
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./base-java
- tags: |
- jitsi/base-java:${{ needs.version.outputs.base }}
- jitsi/base-java:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=jitsi
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- jibri:
- runs-on: ubuntu-latest
- needs: [version, base-java]
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./jibri
- tags: |
- ${{ secrets.JITSI_REPO }}/jibri:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/jibri:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=${{ secrets.JITSI_REPO }}
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./jibri
- tags: |
- jitsi/jibri:${{ needs.version.outputs.base }}
- jitsi/jibri:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=jitsi
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- jicofo:
- runs-on: ubuntu-latest
- needs: [version, base-java]
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./jicofo
- tags: |
- ${{ secrets.JITSI_REPO }}/jicofo:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/jicofo:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=${{ secrets.JITSI_REPO }}
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./jicofo
- tags: |
- jitsi/jicofo:${{ needs.version.outputs.base }}
- jitsi/jicofo:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=jitsi
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- jigasi:
- runs-on: ubuntu-latest
- needs: [version, base-java]
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./jigasi
- tags: |
- ${{ secrets.JITSI_REPO }}/jigasi:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/jigasi:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=${{ secrets.JITSI_REPO }}
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./jigasi
- tags: |
- jitsi/jigasi:${{ needs.version.outputs.base }}
- jitsi/jigasi:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=jitsi
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- jvb:
- runs-on: ubuntu-latest
- needs: [version, base-java]
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./jvb
- tags: |
- ${{ secrets.JITSI_REPO }}/jvb:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/jvb:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=${{ secrets.JITSI_REPO }}
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./jvb
- tags: |
- jitsi/jvb:${{ needs.version.outputs.base }}
- jitsi/jvb:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=jitsi
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- prosody:
- runs-on: ubuntu-latest
- needs: [version, base]
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./prosody
- tags: |
- ${{ secrets.JITSI_REPO }}/prosody:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/prosody:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=${{ secrets.JITSI_REPO }}
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./prosody
- tags: |
- jitsi/prosody:${{ needs.version.outputs.base }}
- jitsi/prosody:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=jitsi
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- web:
- runs-on: ubuntu-latest
- needs: [version, base]
- steps:
- - name: Check out code
- uses: actions/checkout@v3
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- with:
- platforms: linux/amd64,linux/arm64
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- uses: docker/login-action@v1
- if: ${{ github.event_name != 'pull_request' }}
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- if: ${{ github.event_name != 'pull_request' }}
- with:
- push: true
- context: ./web
- tags: |
- ${{ secrets.JITSI_REPO }}/web:${{ needs.version.outputs.base }}
- ${{ secrets.JITSI_REPO }}/web:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=${{ secrets.JITSI_REPO }}
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
- - name: Dryrun
- uses: docker/build-push-action@v2
- if: ${{ github.event_name == 'pull_request' }}
- with:
- context: ./web
- tags: |
- jitsi/web:${{ needs.version.outputs.base }}
- jitsi/web:${{ needs.version.outputs.date }}
- build-args: |
- JITSI_REPO=jitsi
- BASE_TAG=${{ needs.version.outputs.base }}
- platforms: linux/amd64,linux/arm64
- cache-from: type=gha
- cache-to: type=gha,mode=max
|