File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,10 +39,18 @@ jobs:
3939 with :
4040 github-token : ${{ secrets.github_token }}
4141
42+ - name : Login to dockerhub
43+ if : ${{ github.event_name != 'pull_request' }}
44+ uses : docker/login-action@v1
45+ with :
46+ registry : docker.pkg.github.com
47+ username : ${{ github.actor }}
48+ password : ${{ secrets.GITHUB_TOKEN }}
49+
4250 - id : docker_meta
4351 uses : crazy-max/ghaction-docker-meta@v1
4452 with :
45- images : appvia/githubUserManager/githubUserManager
53+ images : docker.pkg.github.com/ appvia/githubUserManager/githubUserManager
4654 tag-sha : true
4755 tag-latest : true
4856 tag-semver : |
@@ -55,14 +63,10 @@ jobs:
5563 maintainer=appvia
5664
5765
66+
5867 - name : Push to GitHub Packages
5968 uses : docker/build-push-action@v2
6069 with :
6170 push : ${{ github.event_name != 'pull_request' }}
6271 tags : ${{ steps.docker_meta.outputs.tags }}
63- labels : ${{ steps.docker_meta.outputs.labels }}
64- username : ${{ github.actor }}
65- password : ${{ secrets.GITHUB_TOKEN }}
66- registry : docker.pkg.github.com
67- repository : appvia/githubUserManager/githubUserManager
68- tag_with_ref : true
72+ labels : ${{ steps.docker_meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments