chore(): Using the latest image to test with
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Elia el Lazkani 2023-07-05 23:10:50 +02:00
parent f2b4f86269
commit fda6eaa868
1 changed files with 2 additions and 4 deletions

View File

@ -59,8 +59,7 @@ steps:
REGISTRY_PASSWORD:
from_secret: registry_password
commands:
- apk add python3
- scripts/generate-scan-report -i scm.project42.io/elia/tricks -t "${DRONE_COMMIT_SHA:0:8}" -g "${DRONE_COMMIT_SHA:0:8}"
- generate-scan-report -i scm.project42.io/elia/tricks -t "${DRONE_COMMIT_SHA:0:8}" -g "${DRONE_COMMIT_SHA:0:8}"
when:
event:
exclude:
@ -87,8 +86,7 @@ steps:
REGISTRY_PASSWORD:
from_secret: registry_password
commands:
- apk add python3
- scripts/check-scan-report -i scm.project42.io/elia/tricks -t "${DRONE_COMMIT_SHA:0:8}"
- check-scan-report -i scm.project42.io/elia/tricks -t "${DRONE_COMMIT_SHA:0:8}"
- oras tag --username "$REGISTRY_USERNAME" --password "$REGISTRY_PASSWORD" "scm.project42.io/elia/tricks:${DRONE_COMMIT_SHA:0:8}" latest
when:
event: