name: CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build Portal env: REACT_APP_API_URL: ${{ secrets.REACT_APP_API_URL }} REACT_APP_OPERATOR_URL: ${{ secrets.REACT_APP_OPERATOR_URL }} run: | docker build \ --build-arg REACT_APP_API_URL=$REACT_APP_API_URL \ --build-arg REACT_APP_OPERATOR_URL=$REACT_APP_OPERATOR_URL \ -f build/Dockerfile.portal \ -t container-mom-portal:${{ github.sha }} \ .