File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 description : branch to build the image from
99 options :
1010 - develop
11- - master
1211 push :
1312 branches :
1413 - develop
15- - master
1614
1715
1816jobs :
3331 - name : Set PRECICE_TAG and the TAG depending on branch
3432 shell : bash
3533 run : |
36- if [[ '${{ env.BINDINGS_REF }}' == 'master' ]]; then
37- echo "PRECICE_TAG=latest" >> "$GITHUB_ENV"
38- echo "TAG=latest" >> "$GITHUB_ENV"
39- echo "Building TAG: latest"
40- else
41- echo "PRECICE_TAG=${{ env.BINDINGS_REF }}" >> "$GITHUB_ENV"
42- echo "TAG=${{ env.BINDINGS_REF }}" >> "$GITHUB_ENV"
43- echo "Building TAG: ${{ env.BINDINGS_REF }}"
44- fi
34+ echo "PRECICE_TAG=${{ env.BINDINGS_REF }}" >> "$GITHUB_ENV"
35+ echo "TAG=${{ env.BINDINGS_REF }}" >> "$GITHUB_ENV"
36+ echo "Building TAG: ${{ env.BINDINGS_REF }}"
4537 - name : Checkout Repository
4638 uses : actions/checkout@v2
4739 - name : Set up Docker Buildx
You can’t perform that action at this time.
0 commit comments