add cache for docker

This commit is contained in:
Evandre Silva
2022-06-03 09:36:21 +01:00
parent c7d59a5d41
commit 68ee1b161e
+1 -1
View File
@@ -8,7 +8,7 @@ pipelines:
- step:
name: 'Build Images and push to Docker hub'
caches:
- node
- docker
script:
- export BITBUCKET_COMMIT_SHORT=$(echo $BITBUCKET_COMMIT| cut -c1-7)
- export IMAGE_NAME=gabinetedigital/gdsite:$BITBUCKET_COMMIT_SHORT