| giolekva | 95340e8 | 2021-11-08 21:36:55 +0400 | [diff] [blame] | 1 | clone: |
| 2 | git clone --depth 1 --branch v0.0.20 https://github.com/ory/hydra-maester.git |
| 3 | |
| 4 | push_arm64: export GOOS=linux |
| 5 | push_arm64: export GOARCH=arm64 |
| 6 | push_arm64: export CGO_ENABLED=0 |
| 7 | push_arm64: export GO111MODULE=on |
| 8 | build: |
| 9 | cd hydra-maester && go build -o manager main.go |
| 10 | |
| 11 | image_arm64: build |
| 12 | docker build --tag=giolekva/ory-hydra-maester:latest . --platform=linux/arm64 |
| 13 | |
| 14 | push_arm64: image_arm64 |
| 15 | docker push giolekva/ory-hydra-maester:latest |