Skip to content

Commit 3c4f67b

Browse files
Refactor image repository and tag in workflow
1 parent 2c883f4 commit 3c4f67b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/image-push-release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ jobs:
88
name: Image build and push
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Set repository as lower-case output variable
12-
id: repo_name
13-
run: echo ::set-output name=repository::$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')
1411
- name: Check out code into the Go module directory
1512
uses: actions/checkout@v5
1613
with:
@@ -29,12 +26,12 @@ jobs:
2926
id: docker_meta
3027
uses: docker/metadata-action@v5
3128
with:
32-
images: nvcr.io/nvstaging/mellanox/${{ github.repository }}
29+
images: nvcr.io/nvstaging/mellanox/k8s-launch-kit
3330
- name: Build and push container image
3431
uses: docker/build-push-action@v6
3532
with:
3633
push: true
3734
platforms: linux/amd64,linux/arm64
3835
tags: |
39-
nvcr.io/nvstaging/mellanox/${{ github.repository }}:${{ github.ref_name }}
36+
nvcr.io/nvstaging/mellanox/k8s-launch-kit:${{ github.ref_name }}
4037
labels: ${{ steps.docker_meta.outputs.labels }}

0 commit comments

Comments
 (0)