Commit b77a23c 1 parent 3fb975d commit b77a23c Copy full SHA for b77a23c
File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
username : ${{ secrets.DOCKERHUB_USERNAME }}
29
29
password : ${{ secrets.DOCKERHUB_TOKEN }}
30
+ - name : Login to GitHub Container Registry
31
+ uses : docker/login-action@v1
32
+ with :
33
+ registry : ghcr.io
34
+ username : ${{ github.repository_owner }}
35
+ password : ${{ secrets.GITHUB_TOKEN }}
30
36
- name : Build and push
31
37
uses : docker/build-push-action@v2
32
38
with :
Original file line number Diff line number Diff line change 26
26
with :
27
27
username : ${{ secrets.DOCKERHUB_USERNAME }}
28
28
password : ${{ secrets.DOCKERHUB_TOKEN }}
29
+ - name : Login to GitHub Container Registry
30
+ uses : docker/login-action@v1
31
+ with :
32
+ registry : ghcr.io
33
+ username : ${{ github.repository_owner }}
34
+ password : ${{ secrets.GITHUB_TOKEN }}
29
35
- name : Get git tag
30
36
run : |
31
37
echo "::set-output name=GIT_TAG::$(git tag --points-at HEAD)"
You can’t perform that action at this time.
0 commit comments