x
Some checks failed
/ docker-image (push) Failing after 44s

This commit is contained in:
Aaron Fischer 2023-10-19 22:50:21 +02:00
parent 0f50e8d4d2
commit 59b3316c35
3 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,7 @@
FROM golang:alpine AS build FROM golang:alpine AS build
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN GOOS=linux go generate RUN ./generate-spaceapi-types.sh
RUN GOOS=linux go build -o oko-spaceapi cmd/server.go RUN GOOS=linux go build -o oko-spaceapi cmd/server.go
FROM alpine FROM alpine

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
set -x
script="$(realpath "${BASH_SOURCE[-1]}")" script="$(realpath "${BASH_SOURCE[-1]}")"
path="$(dirname "$script")" path="$(dirname "$script")"