Skip to content

Commit 15ec491

Browse files
committed
Uncomment steps
1 parent 2d6e17f commit 15ec491

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

.github/workflows/basket-api.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,26 @@ jobs:
5959
currentbranch=$(echo ${GITHUB_REF##*/})
6060
echo "running on $currentbranch"
6161
echo "branch=$currentbranch" >> $GITHUB_ENV
62-
printenv
6362
shell: bash
6463

65-
# - name: Compose build ${{ env.services }}
66-
# run: |
67-
# echo "A initial message"
68-
# sudo docker-compose -f src/docker-compose.yml build ${{ env.services }}
69-
# docker images
70-
# shell: bash
71-
# env:
72-
# TAG: ${{ env.branch }}
73-
# REGISTRY: ${{ env.registryEndpoint }}
64+
- name: Compose build ${{ env.services }}
65+
run: |
66+
echo "Env variables:"
67+
echo "running on $env.branch"
68+
printenv
69+
sudo docker-compose -f src/docker-compose.yml build ${{ env.services }}
70+
docker images
71+
shell: bash
72+
env:
73+
TAG: ${{ env.branch }}
74+
REGISTRY: ${{ env.registryEndpoint }}
7475

75-
# - name: Compose push ${{ env.image }}
76-
# run: sudo docker-compose -f src/docker-compose.yml push ${{ env.services }}
77-
# shell: bash
78-
# env:
79-
# TAG: ${{ env.branch }}
80-
# REGISTRY: ${{ env.registryEndpoint }}
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 }}
8182

8283
BuildWindows:
8384
runs-on: windows-2019

0 commit comments

Comments
 (0)