Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e47cf96

Browse files
chore(build.sh): add push to github registry
1 parent 7a2815b commit e47cf96

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

‎build.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,14 @@ while [[ "$#" -gt 0 ]]; do case 1ドル in
66
esac; shift; done
77

88
npm run build
9-
docker build -t "interactivetraining/self-hosted-unpkg:$version" .
10-
docker push "interactivetraining/self-hosted-unpkg:$version"
9+
10+
docker build -t "interactivetraining/self-hosted-unpkg:latest" .
11+
docker tag "interactivetraining/self-hosted-unpkg:latest" "interactivetraining/self-hosted-unpkg:$version"
12+
docker tag "interactivetraining/self-hosted-unpkg:latest" "docker.pkg.github.com/interactivetraining/self-hosted-unpkg/self-hosted-unpkg:latest"
13+
docker tag "interactivetraining/self-hosted-unpkg:latest" "docker.pkg.github.com/interactivetraining/self-hosted-unpkg/self-hosted-unpkg:$version"
14+
15+
docker push "interactivetraining/self-hosted-unpkg:latest"
16+
docker push "interactivetraining/self-hosted-unpkg:$version"
17+
18+
docker push "docker.pkg.github.com/interactivetraining/self-hosted-unpkg/self-hosted-unpkg:latest"
19+
docker push "docker.pkg.github.com/interactivetraining/self-hosted-unpkg/self-hosted-unpkg:$version"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /