From 15ec4911eaf8181fa212f20dc58b81fb80dd5d16 Mon Sep 17 00:00:00 2001 From: David Sanz Date: Wed, 23 Dec 2020 11:37:47 +0100 Subject: [PATCH] Uncomment steps --- .github/workflows/basket-api.yml | 33 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) 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