Skip to content
Snippets Groups Projects
Commit 4c733710 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

add cache capability for docker

parent 04a98928
No related branches found
No related tags found
No related merge requests found
Pipeline #10940 canceled with stage
......@@ -9,6 +9,10 @@ docker-build:
DOCKER_TLS_CERTDIR: "/certs"
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
cache:
key: ${CI_PROJECT_ID}
paths:
- .docker/cache
# All branches are tagged with $DOCKER_IMAGE_NAME (defaults to commit ref slug)
# Default branch is also tagged with `latest`
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment