From 6a53fbc48624d6ecbcc8dc6fd69564fdb3db342e Mon Sep 17 00:00:00 2001 From: spypsy Date: Thu, 7 Dec 2023 14:58:01 +0000 Subject: [PATCH] fix(ci): rebuild versioned cli / sandbox images (#3613) Adding `ARG COMMIT_TAG=` to cli & sandbox Dockerfiles so they're picked up by `check_rebuild` on releases. --- yarn-project/aztec-sandbox/Dockerfile | 4 ++++ yarn-project/cli/Dockerfile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/yarn-project/aztec-sandbox/Dockerfile b/yarn-project/aztec-sandbox/Dockerfile index c61714b06a3..2f9644563e0 100644 --- a/yarn-project/aztec-sandbox/Dockerfile +++ b/yarn-project/aztec-sandbox/Dockerfile @@ -1,4 +1,8 @@ FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project-prod AS yarn-project-prod +# The version has been updated in yarn-project-prod. +# Adding COMMIT_TAG here to rebuild versioned image. +ARG COMMIT_TAG="" + ENTRYPOINT ["node", "--no-warnings", "/usr/src/yarn-project/aztec-sandbox/dest/bin/index.js"] EXPOSE 8079 8080 diff --git a/yarn-project/cli/Dockerfile b/yarn-project/cli/Dockerfile index 5663b1b079b..dfffe9b1843 100644 --- a/yarn-project/cli/Dockerfile +++ b/yarn-project/cli/Dockerfile @@ -2,6 +2,10 @@ FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project-prod AS yarn-proj ENTRYPOINT ["node", "--no-warnings", "/usr/src/yarn-project/cli/dest/bin/index.js"] +# The version has been updated in yarn-project-prod. +# Adding COMMIT_TAG here to rebuild versioned image. +ARG COMMIT_TAG="" + # Setup cache volume. ENV XDG_CACHE_HOME /cache RUN mkdir /cache && chmod 777 /cache