From fb1b70d903cebf802cc980c14051d372543c0b6c Mon Sep 17 00:00:00 2001 From: rdjones517 Date: Sun, 14 May 2023 07:50:02 -0400 Subject: [PATCH] update oras push syntax to fix issue with 0 length config (#16) --- .github/workflows/cron.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 3a3e7b7..feefde9 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -49,6 +49,6 @@ jobs: - name: Upload assets to GHCR run: | oras version - oras push ghcr.io/${{ github.repository }}:${DB_VERSION} \ - --config /dev/null:application/vnd.aquasec.trivy.config.v1+json \ + oras push --artifact-type application/vnd.aquasec.trivy.config.v1+json \ + ghcr.io/${{ github.repository }}:${DB_VERSION} \ javadb.tar.gz:application/vnd.aquasec.trivy.javadb.layer.v1.tar+gzip