Skip to content

Commit

Permalink
fix: provide version in SLSA build
Browse files Browse the repository at this point in the history
  • Loading branch information
holyspectral authored and BinX-Suse committed Dec 19, 2024
1 parent 7202b01 commit b06125e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#
# Builder image
FROM registry.suse.com/bci/golang:1.22 AS builder
ARG VERSION

ENV GOPATH=/go
ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
Expand All @@ -10,6 +11,7 @@ COPY server/ /src/server
COPY vendor/ /src/vendor
COPY go.mod go.sum adapter.go version.go Makefile /src
WORKDIR /src
RUN sed -i -e 's/interim.*xxxx/'"$VERSION"'/g' ./version.go
RUN make

#
Expand Down

0 comments on commit b06125e

Please sign in to comment.