mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
add master marking for normal Dockerfile
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ RUN apk --no-cache add git
|
||||
RUN git clone https://codeberg.org/gothub/gothub .
|
||||
|
||||
RUN go mod download
|
||||
RUN GOOS=linux GOARCH=$TARGETARCH go build -o /src/gothub
|
||||
RUN GOOS=linux GOARCH=$TARGETARCH go build -o /src/gothub -ldflags="-X codeberg.org/gothub/gothub/utils.Branch=master"
|
||||
|
||||
FROM alpine:3.16 as bin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user