Fix structure again
the build failed Details

This commit is contained in:
Tyler 2018-10-14 04:18:57 -04:00
parent 331e7e0296
commit 7aaa9e588f
4 changed files with 5 additions and 6 deletions

View File

@ -13,18 +13,17 @@ pipeline:
image: golang:latest image: golang:latest
group: build group: build
commands: commands:
- ls /go/src
- mkdir -p build/i386 - mkdir -p build/i386
- GOOS=linux GOARCH=386 go build -o build/i386/deb-simple gitea.meow.tf/tyler/deb-simple/main - GOOS=linux GOARCH=386 go build -o build/i386/deb-simple
build-amd64: build-amd64:
image: golang:latest image: golang:latest
group: build group: build
commands: commands:
- mkdir -p build/amd64 - mkdir -p build/amd64
- go build -o build/amd64/deb-simple gitea.meow.tf/tyler/deb-simple/main - go build -o build/amd64/deb-simple
build-armv7: build-armv7:
image: golang:latest image: golang:latest
group: build group: build
commands: commands:
- mkdir -p build/armv7 - mkdir -p build/armv7
- GOOS=linux GOARCH=arm GOARM=7 go build -o build/armv7/deb-simple gitea.meow.tf/tyler/deb-simple/main - GOOS=linux GOARCH=arm GOARM=7 go build -o build/armv7/deb-simple

2
apt.go
View File

@ -12,7 +12,7 @@ import (
"encoding/hex" "encoding/hex"
"golang.org/x/crypto/openpgp" "golang.org/x/crypto/openpgp"
"time" "time"
"gitea.meow.tf/deb-simple/deb/release" "gitea.meow.tf/tyler/deb-simple/deb/release"
"path" "path"
) )

View File

@ -16,7 +16,7 @@ import (
"crypto/sha256" "crypto/sha256"
"github.com/blang/semver" "github.com/blang/semver"
"encoding/json" "encoding/json"
"gitea.meow.tf/deb-simple/deb/archive" "gitea.meow.tf/tyler/deb-simple/deb/archive"
"path" "path"
) )