Skip to content

Commit 4cd40eb

Browse files
committed
ci: Enable Docker build on forks
1 parent 7adb805 commit 4cd40eb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
cache-to: type=gha,mode=max`
4040
file: util/container/Dockerfile
4141
push: true
42-
tags: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
42+
tags: ghcr.io/${{ github.repository_owner }}/snitch_cluster:${{ github.ref_name }}
4343

4444
########
4545
# Docs #
@@ -53,7 +53,7 @@ jobs:
5353
github.event_name != 'pull_request' ||
5454
github.event.pull_request.head.repo.full_name != github.repository
5555
container:
56-
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
56+
image: ghcr.io/${{ github.repository_owner }}/snitch_cluster:${{ github.ref_name }}
5757
steps:
5858
- uses: actions/checkout@v2
5959
- name: Build docs
@@ -93,7 +93,7 @@ jobs:
9393
github.event_name != 'pull_request' ||
9494
github.event.pull_request.head.repo.full_name != github.repository
9595
container:
96-
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
96+
image: ghcr.io/${{ github.repository_owner }}/snitch_cluster:${{ github.ref_name }}
9797
steps:
9898
- uses: actions/checkout@v2
9999
- name: Run pytest
@@ -111,7 +111,7 @@ jobs:
111111
github.event_name != 'pull_request' ||
112112
github.event.pull_request.head.repo.full_name != github.repository
113113
container:
114-
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
114+
image: ghcr.io/${{ github.repository_owner }}/snitch_cluster:${{ github.ref_name }}
115115
steps:
116116
- uses: actions/checkout@v2
117117
with:
@@ -161,7 +161,7 @@ jobs:
161161
github.event_name != 'pull_request' ||
162162
github.event.pull_request.head.repo.full_name != github.repository
163163
container:
164-
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
164+
image: ghcr.io/${{ github.repository_owner }}/snitch_cluster:${{ github.ref_name }}
165165
steps:
166166
- uses: actions/checkout@v4
167167
with:

util/lint/.yamllint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rules:
99
comments:
1010
min-spaces-from-content: 1
1111
line-length:
12-
max: 90
12+
max: 100
1313
allow-non-breakable-words: true
1414
allow-non-breakable-inline-mappings: true
1515
ignore: |

0 commit comments

Comments
 (0)