improve docker build

This commit is contained in:
Schneider Roland 2022-06-12 22:44:48 +02:00
parent 2223357c9f
commit 9e7a1e869c

View File

@ -68,5 +68,7 @@ echo "copy archive into docker context"
cp "$ARCHIVE_FILE_APP" "$DATA_DIR" cp "$ARCHIVE_FILE_APP" "$DATA_DIR"
echo "building image" echo "building image"
cd "$START_DIR" cd "$START_DIR" || exit 1
docker build --tag cutlergyor:"$VERSION" . TAG_REMOTE=rocho02.ddns.net/admin/cutlergyor:"$VERSION"
docker build --tag cutlergyor:"$VERSION" -t "$TAG_REMOTE" .
docker push "$TAG_REMOTE"