File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,26 +59,30 @@ jobs:
5959 currentbranch=$(echo ${GITHUB_REF##*/})
6060 echo "running on $currentbranch"
6161 echo "branch=$currentbranch" >> $GITHUB_ENV
62+ echo "TAG=$currentbranch" >> $GITHUB_ENV
6263 shell : bash
6364
64- - name : Compose build ${{ env.services }}
65+ - name : Compose build ${{ env.services }}
6566 run : |
6667 echo "running on ${{ env.branch }}"
6768 echo "TAG: ${{ env.TAG }}"
6869 echo "REGISTRY: ${{ env.REGISTRY }}"
69- sudo docker-compose -f src/docker-compose.yml build ${{ env.services }}
70+ pwd
71+ ls
72+ sudo docker-compose build ${{ env.services }}
7073 docker images
74+ working-directory : ./src
7175 shell : bash
7276 env :
73- TAG : ${{ env.branch }}
77+ # TAG: ${{ env.branch }}
7478 REGISTRY : ${{ env.registryEndpoint }}
7579
76- # - name: Compose push ${{ env.image }}
77- # run: sudo docker-compose -f src/docker-compose.yml push ${{ env.services }}
78- # shell: bash
79- # env:
80- # TAG: ${{ env.branch }}
81- # REGISTRY: ${{ env.registryEndpoint }}
80+ - name : Compose push ${{ env.image }}
81+ run : sudo docker-compose -f src/docker-compose.yml push ${{ env.services }}
82+ shell : bash
83+ env :
84+ TAG : ${{ env.branch }}
85+ REGISTRY : ${{ env.registryEndpoint }}
8286
8387 BuildWindows :
8488 runs-on : windows-2019
You can’t perform that action at this time.
0 commit comments