Skip to content

Commit a76ff1c

Browse files
committed
Ensuring we have a base for each PR
1 parent b7448eb commit a76ff1c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ jobs:
4848
command: |
4949
docker buildx build \
5050
--file=./python/base/Dockerfile.base \
51-
--tag=978928340082.dkr.ecr.us-east-1.amazonaws.com/deepnote/python:base \
52-
--tag=docker.io/deepnote/python:base \
53-
--cache-from type=registry,ref=docker.io/deepnote/python:base-buildcache,mode=max \
54-
--cache-to type=registry,ref=docker.io/deepnote/python:base-buildcache,mode=max,image-manifest=true,oci-mediatypes=true \
51+
--tag=978928340082.dkr.ecr.us-east-1.amazonaws.com/deepnote/python:base${CIRCLE_PULL_REQUEST:+-ra-${CIRCLE_PULL_REQUEST##*/}} \
52+
--tag=docker.io/deepnote/python:base${CIRCLE_PULL_REQUEST:+-ra-${CIRCLE_PULL_REQUEST##*/}} \
53+
--cache-from type=registry,ref=docker.io/deepnote/python:base \
54+
--cache-from type=registry,ref=docker.io/deepnote/python:base${CIRCLE_PULL_REQUEST:+-ra-${CIRCLE_PULL_REQUEST##*/}}-buildcache,mode=max \
55+
--cache-to type=registry,ref=docker.io/deepnote/python:base${CIRCLE_PULL_REQUEST:+-ra-${CIRCLE_PULL_REQUEST##*/}}-buildcache,mode=max,image-manifest=true,oci-mediatypes=true \
5556
--progress plain \
5657
--platform linux/amd64 \
5758
--provenance=false \

0 commit comments

Comments
 (0)