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 @@ -42,13 +42,13 @@ jobs:
42
42
uses : docker/login-action@v2
43
43
with :
44
44
registry : ghcr.io
45
- username : ${{ github.actor }}
45
+ username : ${{ github.repository_owner }}
46
46
password : ${{ secrets.GITHUB_TOKEN }}
47
- - name : Set up env.actor
48
- run : echo "actor =${GITHUB_ACTOR ,,}" >>${GITHUB_ENV}
47
+ - name : Set up env
48
+ run : echo "repository_owner =${GITHUB_REPOSITORY_OWNER ,,}" >>${GITHUB_ENV}
49
49
- name : Build and Push Container
50
50
uses : docker/build-push-action@v3
51
51
with :
52
52
file : test/container/${{ matrix.config.dockerfile }}
53
- tags : ghcr.io/${{env.actor }}/${{ matrix.config.tag }}
53
+ tags : ghcr.io/${{env.repository_owner }}/${{ matrix.config.tag }}
54
54
push : ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
You can’t perform that action at this time.
0 commit comments