File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1414
1515jobs :
1616 trivy-scans :
17+ name : Trivy Scans (latest)
1718 runs-on : ubuntu-22.04
1819 steps :
1920 - name : Scan latest released image with trivy
3334 format : table
3435
3536 grype-scans :
37+ name : Grype Scans (latest)
3638 runs-on : ubuntu-22.04
3739 steps :
3840 - name : Scan latest release image with grype
5456 output-format : table
5557
5658 rust-dependency-scan :
59+ name : Rust Dependencies Scan
5760 runs-on : ubuntu-22.04
5861 steps :
5962 - name : Checkout repository
@@ -66,20 +69,24 @@ jobs:
6669 working-directory : bottlecap
6770
6871 build-and-scan-images :
72+ name : Build and Scan Images
6973 runs-on : ubuntu-22.04
7074 strategy :
7175 matrix :
7276 include :
73- - arch : amd64
77+ - name : amd64
78+ arch : amd64
7479 alpine : 0
7580 suffix : amd64
76- - arch : amd64
81+ - name : amd64-alpine
82+ arch : amd64
7783 alpine : 1
7884 suffix : amd64-alpine
79- - arch : arm64
85+ - name : arm64
8086 alpine : 0
8187 suffix : arm64
82- - arch : arm64
88+ - name : arm64-alpine
89+ arch : arm64
8390 alpine : 1
8491 suffix : arm64-alpine
8592 fail-fast : false
@@ -104,7 +111,7 @@ jobs:
104111
105112 - name : Build layer (${{ matrix.suffix }})
106113 run : |
107- ARCHITECTURE=${{ matrix.arch }} FILE_SUFFIX=${{ matrix.suffix }} ./.gitlab/scripts/build_layer.sh
114+ COMPRESSER_IMAGE=ubuntu:22.04 ARCHITECTURE=${{ matrix.arch }} FILE_SUFFIX=${{ matrix.suffix }} ./.gitlab/scripts/build_layer.sh
108115 env :
109116 DOCKER_BUILDKIT : 1
110117
Original file line number Diff line number Diff line change 1- FROM registry.ddbuild.io/images/mirror/ubuntu:22.04 AS compresser
1+ ARG COMPRESSER_IMAGE=registry.ddbuild.io/images/mirror/ubuntu:22.04
2+ FROM $COMPRESSER_IMAGE AS compresser
23ARG DATADOG_WRAPPER=datadog_wrapper
34ARG FILE_SUFFIX
45
You can’t perform that action at this time.
0 commit comments