Bump postcss from 8.4.18 to 8.4.31 in /frontend/react #140
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: Build Docker Images | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
docker-build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Environment Variables | |
run: | | |
TAG=${{ github.ref_name }} | |
PUSH=true | |
echo ${{ github.ref }} | |
if [[ ${{ github.ref }} != 'refs/heads/master' && ${{ github.ref }} != 'refs/heads/develop' ]]; then | |
PUSH=false | |
TAG=temp | |
fi | |
echo "PUSH: $PUSH" | |
echo "DOCKER TAG: $TAG" | |
echo "PUSH=$PUSH" >> $GITHUB_ENV | |
echo "TAG=$TAG" >> $GITHUB_ENV | |
- uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
if: env.PUSH == 'true' | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: "Build (and push) Postgraphile" | |
uses: docker/build-push-action@v3 | |
with: | |
context: postgraphile | |
push: ${{ env.PUSH }} | |
tags: dzynetech/smart-postgraphile:${{ env.TAG }} | |
timeout-minutes: 240 | |
- name: "Build (and push) Ingest" | |
uses: docker/build-push-action@v3 | |
with: | |
context: python/ingest_server | |
push: ${{ env.PUSH }} | |
tags: dzynetech/smart-ingest:${{ env.TAG }} | |
timeout-minutes: 240 | |
- name: "Build (and push) Moviegen" | |
uses: docker/build-push-action@v3 | |
with: | |
context: python/moviegen | |
push: ${{ env.PUSH }} | |
tags: dzynetech/smart-moviegen:${{ env.TAG }} | |
timeout-minutes: 240 | |
- name: "Build (and push) Geocode" | |
uses: docker/build-push-action@v3 | |
with: | |
context: python/geocode | |
push: ${{ env.PUSH }} | |
tags: dzynetech/smart-geocode:${{ env.TAG }} | |
timeout-minutes: 240 | |
- name: "Build (and push) dev UI" | |
uses: docker/build-push-action@v3 | |
with: | |
context: frontend | |
file: frontend/Dockerfile.dev | |
push: ${{ env.PUSH }} | |
tags: dzynetech/smart-ui-dev:${{ env.TAG }} | |
timeout-minutes: 240 | |
- name: "Build (and push) prod UI" | |
uses: docker/build-push-action@v3 | |
with: | |
context: frontend | |
build-args: | | |
commit_hash=${{ github.SHA }} | |
push: ${{ env.PUSH }} | |
tags: dzynetech/smart-ui:${{ env.TAG }} | |
timeout-minutes: 240 |