Skip to content

Commit c8b459c

Browse files
committed
Merge branch 'main' into newmetrics
2 parents b9d3af5 + 3f6d72c commit c8b459c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/publish-images.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
publish:
9+
if: github.repository_owner == 'sustainable-computing-io'
910
name: Publish operator container images
1011
environment: SusQL-Environment
1112
runs-on: ubuntu-latest
@@ -35,3 +36,13 @@ jobs:
3536
registry_token: ${{ secrets.QUAY_BOT_TOKEN }}
3637
version: ${{ steps.version.outputs.version }}
3738
additional_tags: ${{ steps.additional_tags.outputs.result }}
39+
40+
else:
41+
if: github.repository_owner != 'sustainable-computing-io'
42+
name: forked repository
43+
environment: SusQL-Environment
44+
runs-on: ubuntu-latest
45+
steps:
46+
- name: Update the log
47+
shell: bash
48+
run: echo "Skipping official publish image step on forked repo."

0 commit comments

Comments
 (0)