diff --git a/.github/workflows/basket-api.yml b/.github/workflows/basket-api.yml index 08c5eaf33..7b29415b4 100644 --- a/.github/workflows/basket-api.yml +++ b/.github/workflows/basket-api.yml @@ -59,25 +59,26 @@ jobs: currentbranch=$(echo ${GITHUB_REF##*/}) echo "running on $currentbranch" echo "branch=$currentbranch" >> $GITHUB_ENV - printenv shell: bash - # - name: Compose build ${{ env.services }} - # run: | - # echo "A initial message" - # sudo docker-compose -f src/docker-compose.yml build ${{ env.services }} - # docker images - # shell: bash - # env: - # TAG: ${{ env.branch }} - # REGISTRY: ${{ env.registryEndpoint }} + - name: Compose build ${{ env.services }} + run: | + echo "Env variables:" + echo "running on $env.branch" + printenv + sudo docker-compose -f src/docker-compose.yml build ${{ env.services }} + docker images + shell: bash + env: + TAG: ${{ env.branch }} + REGISTRY: ${{ env.registryEndpoint }} - # - name: Compose push ${{ env.image }} - # run: sudo docker-compose -f src/docker-compose.yml push ${{ env.services }} - # shell: bash - # env: - # TAG: ${{ env.branch }} - # REGISTRY: ${{ env.registryEndpoint }} + - name: Compose push ${{ env.image }} + run: sudo docker-compose -f src/docker-compose.yml push ${{ env.services }} + shell: bash + env: + TAG: ${{ env.branch }} + REGISTRY: ${{ env.registryEndpoint }} BuildWindows: runs-on: windows-2019