File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,24 @@ jobs:
28
28
id : get_version
29
29
run : echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
30
30
31
- - name : Log in to the Container registry
31
+ - name : Set up Docker Buildx
32
+ uses : docker/setup-buildx-action@v1
33
+
34
+ - name : Login to Docker Hub
32
35
uses : docker/login-action@v1
36
+ id : configure-login-dockerhub
33
37
with :
34
- registry : ${{ env.REGISTRY }}
38
+ username : ${{ secrets.DOCKER_USERNAME }}
39
+ password : ${{ secrets.DOCKER_PASSWORD }}
40
+
41
+ - name : Docker Login
42
+ uses : docker/login-action@v1
43
+ id : configure-login-ghcr
44
+ with :
45
+ registry : ghcr.io
35
46
username : ${{ github.actor }}
36
47
password : ${{ secrets.GITHUB_TOKEN }}
37
48
38
- - name : Set up Docker Buildx
39
- uses : docker/setup-buildx-action@v1
40
-
41
49
- name : Build and push Docker image
42
50
run : make publish
43
51
env :
You can’t perform that action at this time.
0 commit comments