This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
forked from SeleniumHQ/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added helper scripts for pushing to dockerhub
- Loading branch information
1 parent
d88e8f0
commit 00eefd6
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
BUILD_DATE=$(date +'%Y%m%d') | ||
VERSION=4.0.0 | ||
NAMESPACE=seleniarm | ||
|
||
|
||
# docker push seleniarm/base:4.0.0-20211111 | ||
# docker push seleniarm/hub:4.0.0-20211111 | ||
# docker push seleniarm/node-base:4.0.0-20211111 | ||
# docker push seleniarm/node-chromium:4.0.0-20211111 | ||
# docker push seleniarm/node-firefox:4.0.0-20211111 | ||
# docker push seleniarm/standalone-chromium:4.0.0-20211111 | ||
# docker push seleniarm/standalone-firefox:4.0.0-20211111 | ||
|
||
docker push seleniarm/base:latest | ||
docker push seleniarm/hub:latest | ||
docker push seleniarm/node-base:latest | ||
docker push seleniarm/node-chromium:latest | ||
docker push seleniarm/node-firefox:latest | ||
docker push seleniarm/standalone-chromium:latest | ||
docker push seleniarm/standalone-firefox:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This script tags all of the latest images with seleniarm, for deploying to Docker Hub. | ||
|
||
BUILD_DATE=$(date +'%Y%m%d') | ||
VERSION=4.0.0 | ||
LOCAL_NAMESPACE=local-seleniarm | ||
NAMESPACE=seleniarm | ||
|
||
docker tag $LOCAL_NAMESPACE/base:latest $NAMESPACE/base:latest | ||
docker tag $LOCAL_NAMESPACE/base:$VERSION-$BUILD_DATE $NAMESPACE/base:$VERSION-$BUILD_DATE | ||
|
||
docker tag $LOCAL_NAMESPACE/hub:latest $NAMESPACE/hub:latest | ||
docker tag $LOCAL_NAMESPACE/hub:$VERSION-$BUILD_DATE $NAMESPACE/hub:$VERSION-$BUILD_DATE | ||
|
||
docker tag $LOCAL_NAMESPACE/node-base:latest $NAMESPACE/node-base:latest | ||
docker tag $LOCAL_NAMESPACE/node-base:$VERSION-$BUILD_DATE $NAMESPACE/node-base:$VERSION-$BUILD_DATE | ||
|
||
docker tag $LOCAL_NAMESPACE/node-chromium:latest $NAMESPACE/node-chromium:latest | ||
docker tag $LOCAL_NAMESPACE/node-chromium:$VERSION-$BUILD_DATE $NAMESPACE/node-chromium:$VERSION-$BUILD_DATE | ||
|
||
docker tag $LOCAL_NAMESPACE/standalone-chromium:latest $NAMESPACE/standalone-chromium:latest | ||
docker tag $LOCAL_NAMESPACE/standalone-chromium:$VERSION-$BUILD_DATE $NAMESPACE/standalone-chromium:$VERSION-$BUILD_DATE | ||
|
||
docker tag $LOCAL_NAMESPACE/node-firefox:latest $NAMESPACE/node-firefox:latest | ||
docker tag $LOCAL_NAMESPACE/node-firefox:$VERSION-$BUILD_DATE $NAMESPACE/node-firefox:$VERSION-$BUILD_DATE | ||
|
||
docker tag $LOCAL_NAMESPACE/standalone-firefox:latest $NAMESPACE/standalone-firefox:latest | ||
docker tag $LOCAL_NAMESPACE/standalone-firefox:$VERSION-$BUILD_DATE $NAMESPACE/standalone-firefox:$VERSION-$BUILD_DATE |