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
3231 - name : Set PRECICE_TAG and the TAG depending on branch
3332 shell : bash
3433 run : |
35- if [[ '${{ env.BINDINGS_REF }}' == 'master' ]]; then
36- echo "PRECICE_TAG=latest" >> "$GITHUB_ENV"
37- echo "TAG=latest" >> "$GITHUB_ENV"
38- echo "Building TAG: latest"
39- else
40- echo "PRECICE_TAG=${{ env.BINDINGS_REF }}" >> "$GITHUB_ENV"
41- echo "TAG=${{ env.BINDINGS_REF }}" >> "$GITHUB_ENV"
42- echo "Building TAG: ${{ env.BINDINGS_REF }}"
43- 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 }}"
4437 - name : Checkout Repository
4538 uses : actions/checkout@v2
4639 - name : Set up Docker Buildx
You can’t perform that action at this time.
0 commit comments