Skip to content

Commit

Permalink
[GHA] Add forge repo for docker republish in ci-post-land
Browse files Browse the repository at this point in the history
Closes: #9709
  • Loading branch information
wilsonccccc authored and bors-libra committed Nov 11, 2021
1 parent 32b539b commit 8b664a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-post-land.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ jobs:
docker/build_push.sh -u -p -b ${BRANCH} -n validator || success=$(echo "validator" >> "${tmpfile}"; echo 1)
docker/build_push.sh -u -p -b ${BRANCH} -n validator-tcb || success=$(echo "validator-tcb" >> "${tmpfile}"; echo 1)
docker/build_push.sh -u -p -b ${BRANCH} -n cluster-test || success=$(echo "cluster-test" >> "${tmpfile}"; echo 1)
docker/build_push.sh -u -p -b ${BRANCH} -n forge || success=$(echo "forge" >> "${tmpfile}"; echo 1)
if [[ "$success" == "1" ]]; then
cat "${tmpfile}"
fi
Expand All @@ -297,6 +298,7 @@ jobs:
docker/build_push.sh -u -b ${BRANCH} -n validator || success=$(echo "validator" >> "${tmpfile}"; echo 1)
docker/build_push.sh -u -b ${BRANCH} -n validator-tcb || success=$(echo "validator-tcb" >> "${tmpfile}"; echo 1)
docker/build_push.sh -u -b ${BRANCH} -n cluster-test || success=$(echo "cluster-test" >> "${tmpfile}"; echo 1)
docker/build_push.sh -u -b ${BRANCH} -n forge || success=$(echo "forge" >> "${tmpfile}"; echo 1)
if [[ "$success" == "1" ]]; then
cat "${tmpfile}"
fi
Expand Down
2 changes: 1 addition & 1 deletion docker/docker_republish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OUTPUT_TAG=;
TARGET_REPO="docker.io"
TARGET_ORG="diem"
DISABLE_TRUST="false"
IMAGES="init faucet tools validator validator_tcb cluster_test client"
IMAGES="init faucet tools validator validator_tcb cluster_test client forge"

#parse args
while getopts "t:o:r:g:i:dh" arg; do
Expand Down
1 change: 1 addition & 0 deletions scripts/dockerhub_prune.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ prune_repo "diem/faucet"
prune_repo "diem/tools"
prune_repo "diem/validator"
prune_repo "diem/validator_tcb"
prune_repo "diem/forge"

#We currently overwrite, no need to delete.
#prune_repo "diem/build_environment"

0 comments on commit 8b664a1

Please sign in to comment.