Add geolocation permission to BigBlueButton's iframe #49
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: Build, push, test and deploy Docker image | |
| on: | |
| push: | |
| branches: [master, develop] | |
| release: | |
| types: [created] | |
| pull_request: | |
| types: [labeled, synchronize, opened, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-play: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| # docker | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v1 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - uses: rlespinasse/github-slug-action@4.2.3 | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@v4 | |
| with: | |
| images: mconf/workadventure-play | |
| - name: Build and push | |
| uses: docker/build-push-action@v3 | |
| if: ${{ github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'deploy') || contains(github.event.pull_request.labels.*.name, 'build')) }} | |
| with: | |
| context: . | |
| file: play/Dockerfile | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| tags: mconf/workadventure-play:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| cache-from: | | |
| type=registry,ref=mconf/workadventure-play:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| type=registry,ref=mconf/workadventure-play:develop | |
| cache-to: type=inline | |
| labels: ${{ steps.meta.outputs.labels }} | |
| secrets: | | |
| "SENTRY_URL=${{ secrets.SENTRY_URL }}" | |
| "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" | |
| "SENTRY_ORG=${{ secrets.SENTRY_ORG }}" | |
| "SENTRY_PROJECT=play" | |
| "SENTRY_ENVIRONMENT=${{ github.event_name == 'release' && 'production' || env.GITHUB_REF_NAME == 'master' && 'staging' || 'testing' }}" | |
| "SENTRY_RELEASE=${{ github.event_name == 'release' && env.GITHUB_REF_NAME || format('{0}@{1}', env.GITHUB_REF_NAME, env.GITHUB_SHA) }}" | |
| build-back: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| # docker | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v1 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - uses: rlespinasse/github-slug-action@4.2.3 | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@v4 | |
| with: | |
| images: mconf/workadventure-back | |
| - name: Replace version string | |
| run: | | |
| if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then | |
| sed -i "s/dev/${GITHUB_REF_NAME}/" back/src/Services/version.ts | |
| fi | |
| - name: Build and push | |
| uses: docker/build-push-action@v3 | |
| if: ${{ github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'deploy') || contains(github.event.pull_request.labels.*.name, 'build')) }} | |
| with: | |
| context: . | |
| file: back/Dockerfile | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| tags: mconf/workadventure-back:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| cache-from: | | |
| type=registry,ref=mconf/workadventure-back:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| type=registry,ref=mconf/workadventure-back:develop | |
| cache-to: type=inline | |
| labels: ${{ steps.meta.outputs.labels }} | |
| build-uploader: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v1 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - uses: rlespinasse/github-slug-action@4.2.3 | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@v4 | |
| with: | |
| images: mconf/workadventure-uploader | |
| - name: Build and push | |
| uses: docker/build-push-action@v3 | |
| if: ${{ github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'deploy') || contains(github.event.pull_request.labels.*.name, 'build')) }} | |
| with: | |
| file: uploader/Dockerfile | |
| push: true | |
| tags: mconf/workadventure-uploader:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| cache-from: | | |
| type=registry,ref=mconf/workadventure-uploader:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| type=registry,ref=mconf/workadventure-uploader:develop | |
| cache-to: type=inline | |
| labels: ${{ steps.meta.outputs.labels }} | |
| build-maps: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v1 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - uses: rlespinasse/github-slug-action@4.2.3 | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@v4 | |
| with: | |
| images: mconf/workadventure-maps | |
| - name: Build and push | |
| uses: docker/build-push-action@v3 | |
| if: ${{ github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'deploy') || contains(github.event.pull_request.labels.*.name, 'build')) }} | |
| with: | |
| context: maps/ | |
| file: maps/Dockerfile | |
| push: true | |
| tags: mconf/workadventure-maps:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| cache-from: | | |
| type=registry,ref=mconf/workadventure-maps:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| type=registry,ref=mconf/workadventure-maps:develop | |
| cache-to: type=inline | |
| labels: ${{ steps.meta.outputs.labels }} | |
| build-map-storage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| # docker | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v1 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - uses: rlespinasse/github-slug-action@4.2.3 | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@v4 | |
| with: | |
| images: mconf/workadventure-map-storage | |
| - name: Build and push | |
| uses: docker/build-push-action@v3 | |
| if: ${{ github.event_name == 'push' || github.event_name == 'release' || github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'deploy') || contains(github.event.pull_request.labels.*.name, 'build')) }} | |
| with: | |
| context: . | |
| file: map-storage/Dockerfile | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| tags: mconf/workadventure-map-storage:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| cache-from: | | |
| type=registry,ref=mconf/workadventure-map-storage:${{ github.event_name == 'pull_request' && env.GITHUB_HEAD_REF_SLUG || env.GITHUB_REF_SLUG }} | |
| type=registry,ref=mconf/workadventure-map-storage:develop | |
| cache-to: type=inline | |
| labels: ${{ steps.meta.outputs.labels }} | |