File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2626 uses : docker/build-push-action@v3
2727 with :
2828 context : ${{ env.DOCKERFILE_CONTEXT }}
29- tags : ${{ env.REGISTRY_HOST }}/${{ github.actor }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
29+ tags : ${{ env.REGISTRY_HOST }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
3030 load : true
3131
3232 - name : Setup cache
5454 run : |
5555 ${GITHUB_WORKSPACE}/cache/sysdig-cli-scanner \
5656 --apiurl ${SYSDIG_SECURE_ENDPOINT} \
57- docker://${REGISTRY_HOST}/${{github.actor }}/${IMAGE_NAME}:${IMAGE_TAG} \
57+ docker://${REGISTRY_HOST}/${{github.repository_owner }}/${IMAGE_NAME}:${IMAGE_TAG} \
5858 --console-log \
5959 --dbpath=${GITHUB_WORKSPACE}/cache/db/ \
6060 --cachepath=${GITHUB_WORKSPACE}/cache/scanner-cache/
@@ -63,12 +63,12 @@ jobs:
6363 uses : docker/login-action@v2
6464 with :
6565 registry : ${{ env.REGISTRY_HOST }}
66- username : ${{ github.actor }}
66+ username : ${{ github.repository_owner }}
6767 password : ${{ secrets.GITHUB_TOKEN }}
6868
6969 - name : Push
7070 uses : docker/build-push-action@v3
7171 with :
7272 context : ${{ env.DOCKERFILE_CONTEXT }}
7373 push : true
74- tags : ${{ env.REGISTRY_HOST }}/${{ github.actor }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
74+ tags : ${{ env.REGISTRY_HOST }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
You can’t perform that action at this time.
0 commit comments