Use correct tag on publishing basic-auth container

This fixes the Github Actions CI to publish the correct auth container
tag. Previously it was using latest-dev not the git tag

Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
This commit is contained in:
Alistair Hey 2020-12-10 15:23:14 +00:00 committed by Alex Ellis
parent f1ad13bfa6
commit 272ae94b50

View File

@ -32,7 +32,7 @@ jobs:
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
- name: Build ${{ matrix.svc }}
- name: Publish ${{ matrix.svc }}
uses: docker/build-push-action@v2
with:
context: ./gateway
@ -65,7 +65,7 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Get TAG
id: get_tag
run: echo ::set-output name=TAG::latest-dev
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Login to Docker Registry
uses: docker/login-action@v1
with:
@ -75,7 +75,7 @@ jobs:
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
- name: Build ${{ matrix.svc }}
- name: Publish ${{ matrix.svc }}
uses: docker/build-push-action@v2
with:
context: ./auth/${{ matrix.svc }}