mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-25 23:36:22 +02:00
fix Docker build and import issues
This commit is contained in:
@@ -50,5 +50,12 @@ echo "${FULL_TAG_NAMES[@]}"
|
||||
# docker login ghcr.io --username=pirate
|
||||
|
||||
echo "[^] Uploading docker image"
|
||||
mkdir -p ~/.cache/docker/archivebox
|
||||
|
||||
# https://docs.docker.com/build/cache/backends/
|
||||
# shellcheck disable=SC2068
|
||||
docker buildx build --platform "$SELECTED_PLATFORMS" --push . ${FULL_TAG_NAMES[@]}
|
||||
exec docker buildx build \
|
||||
--platform "$SELECTED_PLATFORMS" \
|
||||
--cache-from type=local,src=~/.cache/docker/archivebox \
|
||||
--cache-to type=local,compression=zstd,mode=min,oci-mediatypes=true,dest=~/.cache/docker/archivebox \
|
||||
--push . ${FULL_TAG_NAMES[@]}
|
||||
|
Reference in New Issue
Block a user