Update Metabase to v0.41.0 #7
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: Docker | |
on: | |
pull_request: | |
paths: | |
- 'Dockerfile' | |
- '.github/workflows/docker.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 40 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build container image | |
run: docker build -t test-container-image . | |
- name: Launch container | |
run: docker run -dp 3000:3000 test-container-image | |
timeout-minutes: 5 | |
- run: docker ps | |
- name: Wait for Metabase to start | |
run: while ! curl -s localhost:3000/api/health; do sleep 1; done | |
timeout-minutes: 1 | |
- name: Check API health | |
run: curl -s localhost:3000/api/health |