mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 15:44:26 -04:00
better dockerfiles caching
This commit is contained in:
parent
562fd5a3bb
commit
211ca363b5
5 changed files with 874 additions and 33 deletions
|
@ -15,10 +15,11 @@ VERSION="$(jq -r '.version' < "$REPO_DIR/package.json")"
|
|||
SHORT_VERSION="$(echo "$VERSION" | perl -pe 's/(\d+)\.(\d+)\.(\d+)/$1.$2/g')"
|
||||
cd "$REPO_DIR"
|
||||
|
||||
echo "[*] Logging in to Docker Hub & Github Container Registry"
|
||||
docker login --username=nikisweeting
|
||||
docker login docker.pkg.github.com --username=pirate
|
||||
|
||||
echo "[^] Uploading docker image"
|
||||
# docker login --username=nikisweeting
|
||||
# docker login docker.pkg.github.com --username=pirate
|
||||
docker push archivebox/archivebox:$VERSION archivebox/archivebox:$SHORT_VERSION archivebox/archivebox:latest
|
||||
docker push docker.io/nikisweeting/archivebox
|
||||
docker push docker.io/archivebox/archivebox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue