mirror of
https://github.com/dragonheim/gagent.git
synced 2025-02-23 01:09:55 -08:00
fix: forgot to uncomment build commands.
This commit is contained in:
parent
ad424f6f23
commit
643267caba
1 changed files with 3 additions and 3 deletions
|
@ -53,13 +53,13 @@ steps:
|
|||
- trivy fs --skip-update --exit-code 1 --severity CRITICAL,HIGH .
|
||||
|
||||
# Build new container image.
|
||||
# - docker buildx build --push --platform linux/amd64 --progress plain --build-arg SEMVER="${DRONE_SEMVER##v:0.0.0}" -t ${DRONE_REPO}:${DRONE_SEMVER##v} -f docker/Dockerfile .
|
||||
- docker buildx build --push --platform linux/amd64 --progress plain --build-arg SEMVER="${DRONE_SEMVER}" -t ${DRONE_REPO}:latest -t ${DRONE_REPO}:${DRONE_SEMVER} -f docker/Dockerfile .
|
||||
|
||||
# Perform image security check of lower level vulnerabilities. This will not break the build, we just want this information, just in case.
|
||||
# - trivy image --skip-update --exit-code 0 --severity UNKNOWN,LOW,MEDIUM,HIGH ${DRONE_REPO}:${DRONE_SEMVER##v}
|
||||
- trivy image --skip-update --exit-code 0 --severity UNKNOWN,LOW,MEDIUM,HIGH ${DRONE_REPO}:${DRONE_SEMVER}
|
||||
|
||||
# Perform image security check of higher level vulnerabilities. This can break the build.
|
||||
# - trivy image --skip-update --exit-code 1 --severity CRITICAL ${DRONE_REPO}:${DRONE_SEMVER##v}
|
||||
- trivy image --skip-update --exit-code 1 --severity CRITICAL ${DRONE_REPO}:${DRONE_SEMVER}
|
||||
|
||||
# name: Create Test Environment
|
||||
# image: dragonheim/terraform:latest
|
||||
|
|
Loading…
Add table
Reference in a new issue