File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,21 @@ jobs:
16
16
registry : docker.pkg.github.com
17
17
username : ${{ github.repository_owner }}
18
18
password : ${{ secrets.GITHUB_TOKEN }}
19
+ - name : Extract metadata (tags, labels) for Docker
20
+ id : meta
21
+ uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
22
+ with :
23
+ images : docker.pkg.github.com/londonhackspace/kube-auth-handler/server
24
+ flavor : |
25
+ latest=false
19
26
- name : Build and push
20
27
uses : docker/build-push-action@v2
21
28
with :
22
29
context : .
23
30
platforms : linux/amd64
24
31
push : true
25
- tags : |
26
- docker.pkg.github.com/londonhackspace/kube-auth-handler/server:${GITHUB_REF##*/ }
32
+ tags : ${{ steps.meta.outputs.tags }}
33
+ labels : ${{ steps.meta.outputs.labels } }
27
34
build_client :
28
35
name : Build Clients
29
36
runs-on : ubuntu-latest
46
53
env :
47
54
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
55
ISSUE : ${{ github.event.issue.html_url }}
49
- run : gh release create ${GITHUB_REF##*/} ldap-kube-auth_*
56
+ run : gh release create ${GITHUB_REF##*/} auth-client/ ldap-kube-auth_*
You can’t perform that action at this time.
0 commit comments