diff --git a/.github/workflows/functional.yml b/.github/workflows/functional.yml index 4024b5c3..0ac61178 100644 --- a/.github/workflows/functional.yml +++ b/.github/workflows/functional.yml @@ -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 diff --git a/.github/workflows/push-tests.yml b/.github/workflows/push-tests.yml index d46c3230..7eb414af 100644 --- a/.github/workflows/push-tests.yml +++ b/.github/workflows/push-tests.yml @@ -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