We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fdefce commit 49525a2Copy full SHA for 49525a2
.github/workflows/push.yml
@@ -18,11 +18,12 @@ jobs:
18
- name: Login to DockerHub
19
uses: docker/login-action@v1
20
with:
21
- username: ${{ secrets.DOCKERHUB_USERNAME }}
22
- password: ${{ secrets.DOCKERHUB_TOKEN }}
+ registry: ghcr.io
+ username: ${{ github.actor }}
23
+ password: ${{ secrets.GITHUB_TOKEN }}
24
25
- name: Build and push
26
uses: docker/build-push-action@v2
27
28
push: true
- tags: ${{ github.repository }}:${{ steps.sha.outputs.sha7 }}
29
+ tags: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ steps.sha.outputs.sha7 }}
0 commit comments