Skip to content

Commit

Permalink
fix: use ./oras
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Oct 14, 2024
1 parent 86bf626 commit 603c1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Upload assets to GHCR and ECR Public
run: |
lowercase_repo=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
oras version
./oras version
# Define an array of registry base URLs
registries=(
Expand All @@ -72,7 +72,7 @@ jobs:
# Loop through each registry and push the artifact
for registry in "${registries[@]}"; do
full_registry_url="${registry}/${lowercase_repo}"
oras push --artifact-type application/vnd.aquasec.trivy.config.v1+json \
./oras push --artifact-type application/vnd.aquasec.trivy.config.v1+json \
"${full_registry_url}:${DB_VERSION}" \
javadb.tar.gz:application/vnd.aquasec.trivy.javadb.layer.v1.tar+gzip
Expand Down

0 comments on commit 603c1a2

Please sign in to comment.