Browse Source

final version

pull/1565/head
Borja García Rodríguez 4 years ago
parent
commit
0cba9fc72f
1 changed files with 7 additions and 9 deletions
  1. +7
    -9
      .github/workflows/basket-api.yml

+ 7
- 9
.github/workflows/basket-api.yml View File

@ -16,8 +16,6 @@ on:
- master
- dev
env:
REGISTRY_ENDPOINT: borjasanes
REGISTRY_HOST: docker.io
SERVICE: basket-api
IMAGE: basket.api
@ -36,7 +34,7 @@ jobs:
shell: bash
env:
TAG: ${{ env.BRANCH }}
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
BuildContainersForPR_Windows:
@ -53,7 +51,7 @@ jobs:
shell: pwsh
env:
TAG: ${{ env.BRANCH }}
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
BuildLinux:
runs-on: ubuntu-latest
@ -74,7 +72,7 @@ jobs:
- name: Login to Container Registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY_HOST }}
registry: ${{ secrets.REGISTRY_HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
@ -91,7 +89,7 @@ jobs:
shell: bash
env:
TAG: ${{ env.BRANCH }}
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
- name: Compose push ${{ env.SERVICE }}
run: sudo -E docker-compose push ${{ env.SERVICE }}
@ -99,7 +97,7 @@ jobs:
shell: bash
env:
TAG: ${{ env.BRANCH }}
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
- name: Create multiarch manifest
run: |
@ -132,7 +130,7 @@ jobs:
shell: pwsh
env:
TAG: ${{ env.BRANCH }}
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
- name: Compose push ${{ env.SERVICE }}
run: docker-compose push ${{ env.SERVICE }}'
@ -140,7 +138,7 @@ jobs:
shell: pwsh
env:
TAG: ${{ env.BRANCH }}
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}

Loading…
Cancel
Save