Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: provide version in SLSA build #30

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading