File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 4545 - name : Checkout repository to build machine
4646 uses : actions/checkout@v2
4747
48- - name : Set tag as output variable
49- id : vars
50- run : echo ::set-output name=tag::${GITHUB_REF#refs/*/}
51-
5248 - name : Log in to the ghcr.io
5349 uses : docker/login-action@v2
5450 with :
7268 context : .
7369 file : ./Dockerfile
7470 push : true
75- tags : ${{ steps.vars .outputs.tag }}
71+ tags : ${{ steps.meta_dockerhub .outputs.tags }}
7672 labels : ${{ steps.meta_ghcr.outputs.labels }}
7773
7874 docker-build-hub :
@@ -111,10 +107,6 @@ jobs:
111107 - name : Checkout repository to build machine
112108 uses : actions/checkout@v2
113109
114- - name : Set tag as output variable
115- id : vars
116- run : echo ::set-output name=tag::${GITHUB_REF#refs/*/}
117-
118110 - name : Log in to Docker Hub
119111 uses : docker/login-action@v2
120112 with :
@@ -133,5 +125,5 @@ jobs:
133125 context : .
134126 file : ./Dockerfile
135127 push : true
136- tags : ${{ steps.vars .outputs.tag }}
128+ tags : ${{ steps.meta_dockerhub .outputs.tags }}
137129 labels : ${{ steps.meta_dockerhub.outputs.labels }}
You can’t perform that action at this time.
0 commit comments