feat: bundle rclone, busybox commands, and bash in default backrest docker image

This commit is contained in:
garethgeorge
2024-02-17 00:33:46 -08:00
parent 41ddc8e1a9
commit cec04f8f74
8 changed files with 384 additions and 13 deletions

View File

@@ -8,12 +8,16 @@
version: 1
env:
- BACKREST_BUILD_VERSION={{.Version}}
before:
hooks:
- bash -c "echo {{.Version}} > /tmp/version.txt"
- go mod tidy
- npm --prefix webui install
- sh -c "GOOS=linux go generate ./..."
- sh -c "GOOS=windows go generate ./..."
- sh -c "GOOS=linux BACKREST_BUILD_VERSION={{.Version}} go generate ./..."
- sh -c "GOOS=windows BACKREST_BUILD_VERSION={{.Version}} go generate ./..."
builds:
- main: .