Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyd450 committed Nov 27, 2023
1 parent 2f6e4d7 commit 7653c5a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ WORKDIR /opt/app-root/src
RUN git config --global --add safe.directory /opt/app-root/src
COPY . .

RUN git stash && \
export GIT_VERSION=$(git describe --tags --always --dirty) && \
git stash pop && \
go mod vendor && \
make Makefile.swagger && \
make -f Build.mak rekor-cli-darwin-amd64 && \
make -f Build.mak rekor-cli-linux-amd64 && \
make -f Build.mak rekor-cli-windows && \
gzip rekor_cli_darwin_amd64 && \
gzip rekor_cli_linux_amd64 && \
gzip rekor_cli_windows_amd64.exe
RUN git stash
RUN export GIT_VERSION=$(git describe --tags --always --dirty)
RUN git stash pop
RUN go mod vendor
RUN make Makefile.swagger
RUN make -f Build.mak rekor-cli-darwin-amd64
RUN make -f Build.mak rekor-cli-linux-amd64
RUN make -f Build.mak rekor-cli-windows
RUN gzip rekor_cli_darwin_amd64
RUN gzip rekor_cli_linux_amd64
RUN gzip rekor_cli_windows_amd64.exe

#Install stage
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:7d1ea7ac0c6f464dac7bae6994f1658172bf6068229f40778a513bc90f47e624
Expand Down

0 comments on commit 7653c5a

Please sign in to comment.