Skip to content

Commit

Permalink
update image names
Browse files Browse the repository at this point in the history
  • Loading branch information
OrellBuehler committed May 12, 2024
1 parent 694594a commit 15792e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build-and-upload-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
required: true
type: string

imageName:
required: true
type: string

imageTag:
required: true
type: string
Expand All @@ -24,7 +20,7 @@ on:
required: true

env:
REGISTRY: ghcr.io
REGISTRY: ghcr.io/ateleris/nvshare

jobs:
build-and-push-image:
Expand All @@ -51,12 +47,12 @@ jobs:
context: .
file: ${{ inputs.dockerfile }}
push: true
tags: ${{ env.REGISTRY }}/${{ inputs.imageName }}:${{ inputs.imageTag }}
tags: ${{ env.REGISTRY }}:${{ inputs.imageTag }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ inputs.imageName }}:${{ inputs.imageTag }}
subject-name: ${{ env.REGISTRY }}:${{ inputs.imageTag }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

3 changes: 1 addition & 2 deletions .github/workflows/build-device-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
actor: ${{ github.actor }}
dockerfile: Dockerfile.device_plugin
imageName: nvshare-device-plugin
imageTag: latest
imageTag: device-plugin-latest
secrets:
ghToken: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/build-libnvshare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
actor: ${{ github.actor }}
dockerfile: Dockerfile.libnvshare
imageName: nvshare-libnvshare
imageTag: latest
imageTag: libnvshare-latest
secrets:
ghToken: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/build-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
actor: ${{ github.actor }}
dockerfile: Dockerfile.scheduler
imageName: nvshare-scheduler
imageTag: latest
imageTag: scheduler-latest
secrets:
ghToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 15792e7

Please sign in to comment.