Skip to content

Commit

Permalink
fixup! update push/pull scripts to reflect 3-stage build
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Dec 22, 2022
1 parent fd54aa5 commit a6cc04d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion devel/delete-from-ghcr.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@

module.exports = async ({octokit, tag}) => {
org = 'nextstrain';
packages = ['base', 'base-builder'];
packages = [
'base',
'base-native-builder',
'base-emulated-builder',
];

// Try all packages before terminating with any errors.
let errorEncountered = false;
Expand Down
6 changes: 4 additions & 2 deletions devel/pull-from-registry
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ while getopts "r:t:" opt; do
esac
done

BUILDER_IMAGE=nextstrain/base-builder
NATIVE_BUILDER_IMAGE=nextstrain/base-native-builder
EMULATED_BUILDER_IMAGE=nextstrain/base-emulated-builder
FINAL_IMAGE=nextstrain/base

docker pull "$registry/$BUILDER_IMAGE:$tag"
docker pull "$registry/$NATIVE_BUILDER_IMAGE:$tag"
docker pull "$registry/$EMULATED_BUILDER_IMAGE:$tag"
docker pull "$registry/$FINAL_IMAGE:$tag"

0 comments on commit a6cc04d

Please sign in to comment.