Commit fb53517f authored by Armando Luescher's avatar Armando Luescher

Shift default version to 1.1.9

parent eea0dfe1
...@@ -2,7 +2,7 @@ ARG BORG_ARCH ...@@ -2,7 +2,7 @@ ARG BORG_ARCH
FROM resin/${BORG_ARCH}-python:3.6-slim FROM resin/${BORG_ARCH}-python:3.6-slim
ARG BORG_ARCH ARG BORG_ARCH
ARG BORG_VERSION=1.1.8 ARG BORG_VERSION=1.1.9
ENV BORG_DIR /borg ENV BORG_DIR /borg
ENV BORG_BUILD_DIR ${BORG_DIR}/dist ENV BORG_BUILD_DIR ${BORG_DIR}/dist
......
...@@ -2,7 +2,7 @@ ARG BORG_ARCH ...@@ -2,7 +2,7 @@ ARG BORG_ARCH
FROM noplanman/borg-binary-builder:base-1.1.0-${BORG_ARCH} FROM noplanman/borg-binary-builder:base-1.1.0-${BORG_ARCH}
ARG BORG_ARCH ARG BORG_ARCH
ARG BORG_VERSION=1.1.8 ARG BORG_VERSION=1.1.9
ENV BORG_DIR /borg ENV BORG_DIR /borg
ENV BORG_BUILD_DIR ${BORG_DIR}/dist ENV BORG_BUILD_DIR ${BORG_DIR}/dist
......
...@@ -11,8 +11,8 @@ Build [BorgBackup] binaries on any platform, for any architecture, using docker. ...@@ -11,8 +11,8 @@ Build [BorgBackup] binaries on any platform, for any architecture, using docker.
See the [list of available architectures] ([on GitHub][available-architectures-github]) See the [list of available architectures] ([on GitHub][available-architectures-github])
*Examples:* *Examples:*
- Build version `1.1.8` for `aarch64` - Build version `1.1.9` for `aarch64`
`./build.sh aarch64 1.1.8` `./build.sh aarch64 1.1.9`
- Build version `1.1.5` for Raspberry Pi 3 - Build version `1.1.5` for Raspberry Pi 3
`./build.sh raspberrypi3 1.1.5` `./build.sh raspberrypi3 1.1.5`
...@@ -24,8 +24,8 @@ See the [list of available architectures] ([on GitHub][available-architectures-g ...@@ -24,8 +24,8 @@ See the [list of available architectures] ([on GitHub][available-architectures-g
**Note:** This will overwrite the file at `binary_save_location` if it already exists! **Note:** This will overwrite the file at `binary_save_location` if it already exists!
*Examples:* *Examples:*
- Extract borg `1.1.8` binary for `aarch64` to `borg-aarch64` in current folder - Extract borg `1.1.9` binary for `aarch64` to `borg-aarch64` in current folder
`./extract.sh aarch64 1.1.8 borg-aarch64` `./extract.sh aarch64 1.1.9 borg-aarch64`
- Extract borg `1.1.5` binary for Raspberry Pi 3 to `/homes/lemoi/borg` - Extract borg `1.1.5` binary for Raspberry Pi 3 to `/homes/lemoi/borg`
`./extract.sh raspberrypi3 1.1.5 /homes/lemoi/borg` `./extract.sh raspberrypi3 1.1.5 /homes/lemoi/borg`
...@@ -69,13 +69,13 @@ This basically starts a container from the built image for your selected archite ...@@ -69,13 +69,13 @@ This basically starts a container from the built image for your selected archite
All automated binary builds can be found on Bintray: All automated binary builds can be found on Bintray:
- https://bintray.com/borg-binary-builder/borg-binaries/borg-binaries - https://bintray.com/borg-binary-builder/borg-binaries/borg-binaries
Using version `1.1.8` for `armv7` as an example: Using version `1.1.9` for `armv7` as an example:
1. Simply download the desired binary (`borg-1.1.8-armv7`) and it's corresponding signature file (`borg-1.1.8-armv7.asc`). 1. Simply download the desired binary (`borg-1.1.9-armv7`) and it's corresponding signature file (`borg-1.1.9-armv7.asc`).
2. Next we have to import the official PGP public key needed for verification (which you can find in this repo): 2. Next we have to import the official PGP public key needed for verification (which you can find in this repo):
- `gpg --import borg-binary-builder.public.asc` - `gpg --import borg-binary-builder.public.asc`
3. Then verify the downloaded binary with it's signature file: 3. Then verify the downloaded binary with it's signature file:
- `gpg --verify borg-1.1.8-armv7.asc borg-1.1.8-armv7` - `gpg --verify borg-1.1.9-armv7.asc borg-1.1.9-armv7`
4. Whoop! 4. Whoop!
## License ## License
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# https://docs.resin.io/reference/base-images/base-images/ # https://docs.resin.io/reference/base-images/base-images/
BORG_ARCH=${1} BORG_ARCH=${1}
BORG_VERSION=${2:-1.1.8} BORG_VERSION=${2:-1.1.9}
if [ -z "${BORG_ARCH}" ]; then if [ -z "${BORG_ARCH}" ]; then
echo "Usage: ./build.sh <arch> [<version>]"; echo "Usage: ./build.sh <arch> [<version>]";
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Usage: ./extract.sh <arch> [<version>] [<binary_save_location>] # Usage: ./extract.sh <arch> [<version>] [<binary_save_location>]
BORG_ARCH=${1} BORG_ARCH=${1}
BORG_VERSION=${2:-1.1.8} BORG_VERSION=${2:-1.1.9}
BORG_BINARY=${3:-borg-${BORG_VERSION}-${BORG_ARCH}} BORG_BINARY=${3:-borg-${BORG_VERSION}-${BORG_ARCH}}
DOCKER_IMAGE=borg:${BORG_VERSION}-${BORG_ARCH} DOCKER_IMAGE=borg:${BORG_VERSION}-${BORG_ARCH}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment