Browse Source

Uncomment steps

pull/1565/head
David Sanz 4 years ago
parent
commit
15ec4911ea
1 changed files with 17 additions and 16 deletions
  1. +17
    -16
      .github/workflows/basket-api.yml

+ 17
- 16
.github/workflows/basket-api.yml View File

@ -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


Loading…
Cancel
Save