cache using test
This commit is contained in:
@@ -2,6 +2,11 @@ stages:
|
||||
- build
|
||||
- upload
|
||||
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_SLUG"
|
||||
paths:
|
||||
- build
|
||||
|
||||
.build_docker_images:
|
||||
image: docker:stable
|
||||
before_script:
|
||||
@@ -48,8 +53,6 @@ images_build:
|
||||
- docker build -t $BADSSL_IMAGE_TAG -f ./badssl.com/Dockerfile ./badssl.com/
|
||||
- docker save $BADSSL_IMAGE_TAG > build/badssl.tar
|
||||
- pwd && ls -halt ./* && ls -halt ./build
|
||||
cache:
|
||||
key: images-save
|
||||
paths:
|
||||
- build
|
||||
|
||||
@@ -65,8 +68,6 @@ rpm_build:
|
||||
script:
|
||||
- pwd && ls -halt ./*
|
||||
- ls -halt ./build
|
||||
cache:
|
||||
key: images-save
|
||||
dependencies:
|
||||
- images_build
|
||||
only:
|
||||
|
||||
Reference in New Issue
Block a user