Skip to content

Commit

Permalink
Change artifact upload/download action
Browse files Browse the repository at this point in the history
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
  • Loading branch information
sivanantha321 committed Feb 11, 2024
1 parent eef54d0 commit f93e038
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 156 deletions.
47 changes: 29 additions & 18 deletions .github/actions/base-download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,34 @@ description: 'A wrapper around download docker artifact to download a set of bas
runs:
using: "composite"
steps:

- name: Download controller image
uses: ishworkh/docker-image-artifact-download@v1
with:
image: "kserve/kserve-controller:${{ github.sha }}"

- name: Download agent image
uses: ishworkh/docker-image-artifact-download@v1
- name: Download base artifacts
uses: actions/download-artifact@v4
with:
image: "kserve/agent:${{ github.sha }}"

- name: Download storage initializer image
uses: ishworkh/docker-image-artifact-download@v1
with:
image: "kserve/storage-initializer:${{ github.sha }}"
path: ./tmp
pattern: ${{ env.BASE_ARTIFACT_PREFIX }}-*
merge-multiple: ture
#
# - name: Load base images
# run: |
# pushd ./tmp >> /dev/null
# docker image load -i sflj

- name: Download router image
uses: ishworkh/docker-image-artifact-download@v1
with:
image: "kserve/router:${{ github.sha }}"
# - name: Download controller image
# uses: ishworkh/docker-image-artifact-download@v1
# with:
# image: "kserve/kserve-controller:${{ github.sha }}"
#
# - name: Download agent image
# uses: ishworkh/docker-image-artifact-download@v1
# with:
# image: "kserve/agent:${{ github.sha }}"
#
# - name: Download storage initializer image
# uses: ishworkh/docker-image-artifact-download@v1
# with:
# image: "kserve/storage-initializer:${{ github.sha }}"
#
# - name: Download router image
# uses: ishworkh/docker-image-artifact-download@v1
# with:
# image: "kserve/router:${{ github.sha }}"
Loading

0 comments on commit f93e038

Please sign in to comment.