Skip to content

Commit f13e499

Browse files
Update ghcr image upload path (#237)
## 📝 Description updating the ghcr image path to enable prefix template in metro-ai-suite. <!-- If the PR addresses a specific GitHub issue, include one of the following lines to enable auto-closing: Fixes #<issue_number> Closes #<issue_number> If referencing an internal ticket (e.g. JIRA), include the ticket number instead: JIRA: <project-key>-<ticket-number> If there’s no related issue or ticket, you can skip this section. --> ## ✨ Type of Change Select the type of change your PR introduces: - [ ] 🐞 **Bug fix** – Non-breaking change which fixes an issue - [ ] 🚀 **New feature** – Non-breaking change which adds functionality - [ ] 🔨 **Refactor** – Non-breaking change which refactors the code base - [ ] 💥 **Breaking change** – Changes that break existing functionality - [ ] 📚 **Documentation update** - [ ] 🔒 **Security update** - [ ] 🧪 **Tests** - [ ] 🚂 **CI** ## 🧪 Testing Scenarios Describe how the changes were tested and how reviewers can test them too: - [ ] ✅ Tested manually - [ ] 🤖 Ran automated end-to-end tests ## ✅ Checklist Before submitting the PR, ensure the following: - [ ] 🔍 PR title is clear and descriptive - [ ] 📝 For internal contributors: If applicable, include the JIRA ticket number (e.g., ITEP-123456) in the PR **title**. Do **not** include full URLs - [ ] 💬 I have commented my code, especially in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ✅ I have added tests that prove my fix is effective or my feature works --------- Co-authored-by: Dmytro Yermolenko <[email protected]>
1 parent 2d1b52e commit f13e499

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/weekly-build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ jobs:
8282
8383
- name: "Tag images"
8484
run: |
85-
docker tag ${{ matrix.images }}:latest ghcr.io/${{ github.repository }}/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}
86-
echo "Tagged ${{ matrix.images }}:latest as ghcr.io/${{ github.repository }}/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}"
85+
docker tag ${{ matrix.images }}:latest ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}
86+
echo "Tagged ${{ matrix.images }}:latest as ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}"
8787
8888
- name: "Log in to GHCR"
8989
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -98,7 +98,7 @@ jobs:
9898
- name: "Scan Docker image with Trivy 🔍"
9999
uses: open-edge-platform/orch-ci/.github/actions/security/trivy@65fc743e0c69b8529188b89dede3acfe2897b2e0
100100
with:
101-
scan_target: "ghcr.io/${{ github.repository }}/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}"
101+
scan_target: "ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}"
102102
severity: "HIGH"
103103
scan_type: image
104104
format: table
@@ -123,15 +123,15 @@ jobs:
123123

124124
- name: "Push images"
125125
run: |
126-
docker push ghcr.io/${{ github.repository }}/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}
126+
docker push ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}
127127
128128
- name: Install skopeo
129129
run: sudo apt update && sudo apt install -y skopeo jq
130130

131131
- name: "Get image digest"
132132
id: digest
133133
env:
134-
IMAGE: ghcr.io/${{ github.repository }}/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}
134+
IMAGE: ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}
135135
run: |
136136
DIGEST=$(skopeo inspect docker://$IMAGE | jq -r '.Digest')
137137
echo "digest=${DIGEST}" >> $GITHUB_OUTPUT
@@ -141,14 +141,14 @@ jobs:
141141

142142
- name: "Sign Docker images using Cosign (keyless)"
143143
run: |
144-
cosign sign --yes ghcr.io/${{ github.repository }}/${{ matrix.images }}@${{ steps.digest.outputs.digest }}
145-
echo "Signed ghcr.io/${{ github.repository }}/${{ matrix.images }}@${{ steps.digest.outputs.digest }}"
144+
cosign sign --yes ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}@${{ steps.digest.outputs.digest }}
145+
echo "Signed ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}@${{ steps.digest.outputs.digest }}"
146146
147147
- name: "Save ${{ matrix.images }} image info"
148148
id: save-image-info
149149
run: |
150-
echo "image_name=ghcr.io/${{ github.repository }}/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}" >> "$GITHUB_OUTPUT"
151-
echo "image_name=ghcr.io/${{ github.repository }}/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}" >> $GITHUB_STEP_SUMMARY
150+
echo "image_name=ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}" >> "$GITHUB_OUTPUT"
151+
echo "image_name=ghcr.io/${{ github.repository }}/intel/${{ matrix.images }}:${{ steps.determine-tag.outputs.image_tag }}" >> $GITHUB_STEP_SUMMARY
152152
echo "image_digest=${{ steps.digest.outputs.digest }}" >> "$GITHUB_OUTPUT"
153153
echo "image_digest=${{ steps.digest.outputs.digest }}" >> $GITHUB_STEP_SUMMARY
154154

kubernetes/scenescape-chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ name: scenescape-chart
66
description: A Helm chart for SceneScape
77
type: application
88
version: 1.2.1
9-
appVersion: "1.4.0-alpha"
9+
appVersion: "1.4.0-rc1"

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.0-alpha
1+
1.4.0-rc1

0 commit comments

Comments
 (0)