diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index cca1a83..228a450 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -18,5 +18,5 @@ jobs: run: | docker build . --file Dockerfile --tag dualping:${{ steps.commit_sha.outputs.SHA }} echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${{ github.repository_owner }} --password-stdin - docker tag dualping:${{ steps.commit_sha.outputs.SHA }} docker.pkg.github.com/${{ github.repository }}/dualping:${{ steps.commit_sha.outputs.SHA }} - docker push docker.pkg.github.com/${{ github.repository }}/dualping:${{ steps.commit_sha.outputs.SHA }} + docker tag dualping:${{ steps.commit_sha.outputs.SHA }} docker.pkg.github.com/${{ github.repository_owner }}/dualping:${{ steps.commit_sha.outputs.SHA }} + docker push docker.pkg.github.com/${{ github.repository_owner }}/dualping:${{ steps.commit_sha.outputs.SHA }}