Skip to content

Commit

Permalink
Fix invalid archive name
Browse files Browse the repository at this point in the history
  • Loading branch information
learnitall committed Jul 19, 2021
1 parent 1064a65 commit 11c6d91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Save Image as Artifact
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.image_name }}:${{ env.IMAGE_TAG }}
name: ${{ matrix.image_name }}.${{ env.IMAGE_TAG }}
path: ${{ matrix.image_name }}.${{ env.IMAGE_TAG }}.tar
retention-days: 10
- name: Set benchmark image environment variable
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/push-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
for image in ${image_archives[*]}
do
image_name=`echo $image | awk -F "/" '{print $(NF-1)}'`
image_archive_name=`echo $image | awk -F "/" '{print $(NF-1)}'`
image_name=`echo $image_archive_name | cut -d'.' -f1`
image_tag=`echo $image_archive_name | cut -d'.' -f2`
podman load -i $image
podman image push quay.io/${{ secrets.REGISTRY_USER }}/$image_name
podman image push quay.io/${{ secrets.REGISTRY_USER }}/$image_name:$image_tag
done

0 comments on commit 11c6d91

Please sign in to comment.