File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build Taiga image
22
3- on :
4- push :
5- branches : main
3+ on : push
64
75env :
86 IMAGE_TAG : us.gcr.io/cds-docker-containers/taiga:ga-build-${{ github.run_number }}
1816 - uses : actions/checkout@v2
1917 - name : write SHA to file
2018 run : " bash write_version.sh ${{ github.sha }}"
19+ - name : bundle JS
20+ run : " bash bundle_js.sh"
2121 - name : Login to GCR
2222 uses : docker/login-action@v2
2323 with :
3131 - name : Push Docker image
3232 run : docker push ${{ env.IMAGE_TAG }}
3333 - name : Tag as latest
34+ if : github.ref == 'refs/heads/main'
3435 run : docker tag ${{ env.IMAGE_TAG }} ${{ env.FINAL_IMAGE_TAG }}
3536 - name : Push Docker image
37+ if : github.ref == 'refs/heads/main'
3638 run : docker push ${{ env.FINAL_IMAGE_TAG }}
Original file line number Diff line number Diff line change 1+ set -ex
2+ cd react_frontend
3+ yarn install
4+ ./node_modules/.bin/webpack --mode=production
Original file line number Diff line number Diff line change 11set -ex
2- pip install -r dev-requirements.txt
3- python setup.py develop
42pre-commit install
3+ poetry install
54yarn install --cwd react_frontend
You can’t perform that action at this time.
0 commit comments