Skip to content

Commit

Permalink
fix(ci): rebuild versioned cli / sandbox images (AztecProtocol#3613)
Browse files Browse the repository at this point in the history
Adding `ARG COMMIT_TAG=` to cli & sandbox Dockerfiles so they're picked
up by `check_rebuild` on releases.
  • Loading branch information
spypsy authored Dec 7, 2023
1 parent 48e2e3d commit 6a53fbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yarn-project/aztec-sandbox/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions yarn-project/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a53fbc

Please sign in to comment.