fix: [#9506] Update About page to show correct SDK runtime version #11010
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: Docker Build Validation | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
jobs: | |
build: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: free disk space | |
run: | | |
sudo swapoff -a | |
sudo rm -f /swapfile | |
sudo apt clean | |
docker rmi $(docker image ls -aq) | |
df -h | |
- name: Build | |
uses: docker/build-push-action@v2 | |
with: | |
push: false | |
context: . | |
file: Dockerfile | |
tags: botframework-composer | |
target: build # CI will stop at the build stage | |
- name: Health check | |
run: | | |
containerId=$(docker run -d -p "5000:5000" botframework-composer) | |
sleep 10 | |
docker logs $containerId | |
curl -Is http://localhost:5000 | grep -q "200 OK" | |
shell: bash | |
- name: Clean up | |
if: always() | |
run: docker rm -f $(docker ps -a -q) |