Skip to content

chore: [9719] png compression - 11654.85 KB saved #11022

chore: [9719] png compression - 11654.85 KB saved

chore: [9719] png compression - 11654.85 KB saved #11022

Workflow file for this run

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)