mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
fix java cache key for CI; fix circle docker api version (#79)
This commit is contained in:
@@ -9,6 +9,9 @@ jobs:
|
||||
- image: circleci/golang:<< parameters.version >>
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
# work around for recent circle CI breaking change
|
||||
# Error: "Error response from daemon: client version 1.39 is too new. Maximum supported API version is 1.38"
|
||||
DOCKER_API_VERSION: "1.38"
|
||||
# 1CPU / 2GB RAM
|
||||
resource_class: small
|
||||
steps:
|
||||
@@ -39,6 +42,9 @@ jobs:
|
||||
- image: circleci/golang:<< parameters.version >>
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
# work around for recent circle CI breaking change
|
||||
# Error: "Error response from daemon: client version 1.39 is too new. Maximum supported API version is 1.38"
|
||||
DOCKER_API_VERSION: "1.38"
|
||||
# 1CPU / 2GB RAM
|
||||
resource_class: small
|
||||
steps:
|
||||
@@ -75,9 +81,7 @@ jobs:
|
||||
|
||||
- run:
|
||||
name: build cache key for java test-fixture blobs
|
||||
command: |
|
||||
cd imgbom/cataloger/java/test-fixtures/java-builds &&\
|
||||
make packages.fingerprint
|
||||
command: make java-packages-fingerprint
|
||||
|
||||
- restore_cache:
|
||||
keys:
|
||||
|
||||
Reference in New Issue
Block a user