2022-10-13 18:21:26 -07:00
|
|
|
# first build the image
|
2023-05-19 17:34:06 -07:00
|
|
|
|
2023-08-25 11:19:25 -07:00
|
|
|
(cd ..; DOCKER_BUILDKIT=1 docker buildx build --platform linux/amd64 -f aptos/Dockerfile.base -t aptos .)
|
2023-05-19 17:34:06 -07:00
|
|
|
|
2022-10-13 18:21:26 -07:00
|
|
|
# tag the image with the appropriate version
|
2023-05-19 17:34:06 -07:00
|
|
|
|
2023-08-25 11:19:25 -07:00
|
|
|
docker tag aptos:latest ghcr.io/wormhole-foundation/aptos:2.0.3
|
2023-05-19 17:34:06 -07:00
|
|
|
|
2022-10-13 18:21:26 -07:00
|
|
|
# push to ghcr
|
2023-05-19 17:34:06 -07:00
|
|
|
|
2023-08-25 11:19:25 -07:00
|
|
|
docker push ghcr.io/wormhole-foundation/aptos:2.0.3
|