Skip to content

Commit a05a0fc

Browse files
author
Eric Stroczynski
authored
.github/workflows: use 'github.repository_owner' in image tags (#4632)
Use ${{ github.repository_owner }} in image tags for easier testing in fork repos Signed-off-by: Eric Stroczynski <[email protected]>
1 parent d3a29a9 commit a05a0fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/deploy-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
id: tag
3737
run: |
3838
set -e
39-
IMG=quay.io/operator-framework/ansible-operator-base
39+
IMG=quay.io/${{ github.repository_owner }}/ansible-operator-base
4040
TAG="${{ github.event.inputs.tag }}"
4141
if [[ "$TAG" == "" ]]; then
4242
TAG=$(git describe --tags --always --dirty --long --abbrev=100)

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- name: create tags
8888
id: tags
8989
run: |
90-
IMG=quay.io/operator-framework/${{ matrix.id }}
90+
IMG=quay.io/${{ github.repository_owner }}/${{ matrix.id }}
9191
if [[ $GITHUB_REF == refs/tags/* ]]; then
9292
TAG=${GITHUB_REF#refs/tags/}
9393
MAJOR_MINOR=${TAG%.*}

0 commit comments

Comments
 (0)