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
@@ -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 }}
