Skip to content

Commit b68b625

Browse files
author
Borja García Rodríguez
committed
final
1 parent 442a0f4 commit b68b625

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/basket-api.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,14 @@ jobs:
4646
- name: 'Checkout Github Action'
4747
uses: actions/checkout@master
4848

49-
- name: Compose build ${{ env.SERVICE }}
49+
- name: Compose build ${{ env.SERVICE }}
5050
run: docker-compose build ${{ env.SERVICE }}
5151
working-directory: ./src
5252
shell: pwsh
5353
env:
54-
TAG: ${{ env.branch }}
54+
TAG: ${{ env.BRANCH }}
5555
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
56-
PLATFORM: win
57-
NODE_IMAGE: stefanscherer/node-windows:10
56+
5857
BuildLinux:
5958
runs-on: ubuntu-latest
6059
if: ${{ github.event_name != 'pull_request' }}
@@ -99,9 +98,7 @@ jobs:
9998
echo $'{\n "experimental": "enabled"\n}' | sudo tee ~/.docker/config.json
10099
sudo service docker restart
101100
docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }}
102-
docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:latest ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-latest
103101
docker --config ~/.docker manifest push ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }}
104-
docker --config ~/.docker manifest push ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:latest
105102
shell: bash
106103

107104
BuildWindows:

0 commit comments

Comments
 (0)