1 Commits

Author SHA1 Message Date
04ad6017e6 image name in dockerfile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-20 23:02:46 +01:00
2 changed files with 2 additions and 37 deletions

View File

@ -28,38 +28,3 @@ steps:
dockerfile: Dockerfile dockerfile: Dockerfile
when: when:
- event: [tag] - event: [tag]
scan:
image: quay.io/wollud1969/woodpecker-helper:0.5.1
environment:
TRIVY_TOKEN:
from_secret: trivy_token
TRIVY_URL:
from_secret: trivy_url
DTRACK_API_KEY:
from_secret: dtrack_api_key
DTRACK_API_URL:
from_secret: dtrack_api_url
commands:
- HOME=/home/`id -nu`
- IMAGE=quay.io/wollud1969/exim-docker:$CI_COMMIT_TAG
- |
trivy image \
--server $TRIVY_URL \
--token $TRIVY_TOKEN \
--format cyclonedx \
--scanners license \
--output /tmp/sbom.xml \
$IMAGE
- cat /tmp/sbom.xml
- |
curl -X "POST" \
-H "Content-Type: multipart/form-data" \
-H "X-Api-Key: $DTRACK_API_KEY" \
-F "autoCreate=true" \
-F "projectName=$CI_REPO" \
-F "projectVersion=$CI_COMMIT_TAG" \
-F "bom=@/tmp/sbom.xml"\
"$DTRACK_API_URL/api/v1/bom"
when:
- event: [tag]

View File

@ -1,7 +1,7 @@
FROM alpine:3.21.3 FROM alpine:3.21.0
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>" LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="" LABEL ImageName="quay.io/wollud1969/exim-docker"
# domain to be used in sender address of sent mails # domain to be used in sender address of sent mails
ENV LOCALMAILNAME="" ENV LOCALMAILNAME=""