aptos: pin aptos CLI to 1.0.4
This commit is contained in:
parent
a936a16674
commit
256583fb6d
|
@ -4,8 +4,8 @@
|
|||
|
||||
# tag the image with the appropriate version
|
||||
|
||||
docker tag aptos:latest ghcr.io/wormhole-foundation/aptos:1.0.4_1
|
||||
docker tag aptos:latest ghcr.io/wormhole-foundation/aptos:1.0.4_2
|
||||
|
||||
# push to ghcr
|
||||
|
||||
docker push ghcr.io/wormhole-foundation/aptos:1.0.4_1
|
||||
docker push ghcr.io/wormhole-foundation/aptos:1.0.4_2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM cli-gen AS cli-export
|
||||
FROM const-gen AS const-export
|
||||
FROM ghcr.io/wormhole-foundation/aptos:1.0.4_1@sha256:8d61205efab33e03375a146cdcf4838e2de4797ff2618b08a22cf74ec0843779 as aptos
|
||||
FROM ghcr.io/wormhole-foundation/aptos:1.0.4_2@sha256:020ff492894ad93fd5ad94f75c93e791b191983d0f40fe7dae793758fd0f96f9 as aptos
|
||||
|
||||
# Support additional root CAs
|
||||
COPY cert.pem* /certs/
|
||||
|
|
|
@ -6,6 +6,9 @@ WORKDIR /tmp
|
|||
|
||||
RUN git clone https://github.com/aptos-labs/aptos-core.git
|
||||
WORKDIR /tmp/aptos-core
|
||||
|
||||
# Build aptos 1.0.4
|
||||
RUN git reset --hard 61615bb3326fc8770e6df04d52aec97afa9148df
|
||||
RUN cargo build -p aptos --profile cli
|
||||
|
||||
FROM rust:1.62@sha256:5777f201f507075309c4d2d1c1e8d8219e654ae1de154c844341050016a64a0c as export-stage
|
||||
|
|
Loading…
Reference in New Issue