final version
This commit is contained in:
parent
0fb4f46de3
commit
0cba9fc72f
16
.github/workflows/basket-api.yml
vendored
16
.github/workflows/basket-api.yml
vendored
@ -16,8 +16,6 @@ on:
|
|||||||
- master
|
- master
|
||||||
- dev
|
- dev
|
||||||
env:
|
env:
|
||||||
REGISTRY_ENDPOINT: borjasanes
|
|
||||||
REGISTRY_HOST: docker.io
|
|
||||||
SERVICE: basket-api
|
SERVICE: basket-api
|
||||||
IMAGE: basket.api
|
IMAGE: basket.api
|
||||||
|
|
||||||
@ -36,7 +34,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
TAG: ${{ env.BRANCH }}
|
TAG: ${{ env.BRANCH }}
|
||||||
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
|
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
|
||||||
|
|
||||||
BuildContainersForPR_Windows:
|
BuildContainersForPR_Windows:
|
||||||
|
|
||||||
@ -53,7 +51,7 @@ jobs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
TAG: ${{ env.BRANCH }}
|
TAG: ${{ env.BRANCH }}
|
||||||
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
|
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
|
||||||
|
|
||||||
BuildLinux:
|
BuildLinux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -74,7 +72,7 @@ jobs:
|
|||||||
- name: Login to Container Registry
|
- name: Login to Container Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY_HOST }}
|
registry: ${{ secrets.REGISTRY_HOST }}
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
|
||||||
@ -91,7 +89,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
TAG: ${{ env.BRANCH }}
|
TAG: ${{ env.BRANCH }}
|
||||||
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
|
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
|
||||||
|
|
||||||
- name: Compose push ${{ env.SERVICE }}
|
- name: Compose push ${{ env.SERVICE }}
|
||||||
run: sudo -E docker-compose push ${{ env.SERVICE }}
|
run: sudo -E docker-compose push ${{ env.SERVICE }}
|
||||||
@ -99,7 +97,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
TAG: ${{ env.BRANCH }}
|
TAG: ${{ env.BRANCH }}
|
||||||
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
|
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
|
||||||
|
|
||||||
- name: Create multiarch manifest
|
- name: Create multiarch manifest
|
||||||
run: |
|
run: |
|
||||||
@ -132,7 +130,7 @@ jobs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
TAG: ${{ env.BRANCH }}
|
TAG: ${{ env.BRANCH }}
|
||||||
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
|
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
|
||||||
|
|
||||||
- name: Compose push ${{ env.SERVICE }}
|
- name: Compose push ${{ env.SERVICE }}
|
||||||
run: docker-compose push ${{ env.SERVICE }}'
|
run: docker-compose push ${{ env.SERVICE }}'
|
||||||
@ -140,7 +138,7 @@ jobs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
TAG: ${{ env.BRANCH }}
|
TAG: ${{ env.BRANCH }}
|
||||||
REGISTRY: ${{ env.REGISTRY_ENDPOINT }}
|
REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user