mirror of
https://github.com/openfaas/faas.git
synced 2025-06-15 11:46:46 +00:00
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:
parent
f1ad13bfa6
commit
272ae94b50
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Get Repo Owner
|
- name: Get Repo Owner
|
||||||
id: get_repo_owner
|
id: get_repo_owner
|
||||||
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
|
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
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: ./gateway
|
context: ./gateway
|
||||||
@ -65,7 +65,7 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
- name: Get TAG
|
- name: Get TAG
|
||||||
id: 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
|
- name: Login to Docker Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
@ -75,7 +75,7 @@ jobs:
|
|||||||
- name: Get Repo Owner
|
- name: Get Repo Owner
|
||||||
id: get_repo_owner
|
id: get_repo_owner
|
||||||
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
|
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
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: ./auth/${{ matrix.svc }}
|
context: ./auth/${{ matrix.svc }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user