Skip to content

Commit

Permalink
Fix docker tag
Browse files Browse the repository at this point in the history
The image we build in the CI is tagged with

    ghcr.io/espressosystems/espresso-sequencer/builder:main

and not ".../permissionless-builder:main".
  • Loading branch information
sveitser committed Apr 23, 2024
1 parent d0ab4f7 commit 5db7ffa
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scripts/build-docker-images-native
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,17 @@ case $KERNEL in

# Build in docker container:
# - RUSTFLAGS is needed for compilation.
# - CARGO_TARGET_DIR is set to point to the location where
# the hosts CARGO_TARGET_DIR is mounted.
# - CARGO_TARGET_DIR is set to point to the location where the hosts
# CARGO_TARGET_DIR is mounted.
# - PWD is mounted to /work.
# - Cargo registry is mounted to avoid re-downloading dependencies.
# - Cargo registry and git directory are mounted to avoid re-downloading
# dependencies.
docker run \
-e RUSTFLAGS \
-e CARGO_TARGET_DIR=/work/target/docker \
-v "$(pwd):/work" \
-v "$HOME/.cargo/registry:/usr/local/cargo/registry" \
-v "$CARGO_HOME/registry:/usr/local/cargo/registry" \
-v "$CARGO_HOME/git:/usr/local/cargo/git" \
-it ghcr.io/espressosystems/devops-rust:stable \
bash -c "cd /work && cargo build --release"
;;
Expand Down Expand Up @@ -99,5 +101,5 @@ docker build --platform $PLATFORM -t ghcr.io/espressosystems/espresso-sequencer/
docker build --platform $PLATFORM -t ghcr.io/espressosystems/espresso-sequencer/commitment-task:main -f docker/commitment-task.Dockerfile ${WORKDIR}
docker build --platform $PLATFORM -t ghcr.io/espressosystems/espresso-sequencer/submit-transactions:main -f docker/submit-transactions.Dockerfile ${WORKDIR}
docker build --platform $PLATFORM -t ghcr.io/espressosystems/espresso-sequencer/deploy:main -f docker/deploy.Dockerfile ${WORKDIR}
docker build --platform $PLATFORM -t ghcr.io/espressosystems/espresso-sequencer/permissionless-builder:main -f docker/permissionless-builder.Dockerfile ${WORKDIR}
docker build --platform $PLATFORM -t ghcr.io/espressosystems/espresso-sequencer/builder:main -f docker/permissionless-builder.Dockerfile ${WORKDIR}
docker build --platform $PLATFORM -t ghcr.io/espressosystems/espresso-sequencer/nasty-client:main -f docker/nasty-client.Dockerfile ${WORKDIR}

0 comments on commit 5db7ffa

Please sign in to comment.