Skip to content

Commit

Permalink
🤖 [main] Update image version in Dockerfiles (#278)
Browse files Browse the repository at this point in the history
This is an automated PR, which updates the Dockerfile versions to their
latest versions.

---------

Co-authored-by: JasonPowr <[email protected]>
  • Loading branch information
github-actions[bot] and JasonPowr authored Jul 12, 2024
1 parent 8e32243 commit 89ac508
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .tekton/rekor-unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- name: source
steps:
- name: run-tests
image: registry.access.redhat.com/ubi9/go-toolset@sha256:766687c5dfdc178b60033307127f37866a719996f35965bbf56705f59a92aade
image: registry.access.redhat.com/ubi9/go-toolset@sha256:503180314bc0d2812fa941c98f56352db498deed76955f08599e04e283db23ff
workingDir: $(workspaces.source.path)/source
script: |
#!/usr/bin/env sh
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.backfill-redis.rh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG SERVER_LDFLAGS
RUN CGO_ENABLED=0 go build -mod=readonly -trimpath -ldflags "$(SERVER_LDFLAGS)" -o backfill-redis ./cmd/backfill-redis

# Install stage
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:29790f898839e92c0554d031856e1770254f27e66af593fc088fbb7d3e5e298e
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:82fad27b91361473d919522a01a1198f327230bf8d2b569a8995bdcd6ac7cb94
COPY --from=build-env /opt/app-root/src/backfill-redis /usr/local/bin/backfill-redis
WORKDIR /opt/app-root/src/home

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.rekor-cli.rh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN git stash && \
gzip rekor_cli_linux_s390x
#
#Install stage
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:29790f898839e92c0554d031856e1770254f27e66af593fc088fbb7d3e5e298e
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:82fad27b91361473d919522a01a1198f327230bf8d2b569a8995bdcd6ac7cb94

LABEL description="Rekor-cli is a command line interface (CLI) tool used to interact with a rekor server."
LABEL io.k8s.description="Rekor-cli is a command line interface (CLI) tool used to interact with a rekor server."
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.rekor-server.rh
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ RUN CGO_ENABLED=0 go build -gcflags "all=-N -l" -ldflags "${SERVER_LDFLAGS}" -o
RUN go test -c -ldflags "${SERVER_LDFLAGS}" -cover -covermode=count -coverpkg=./... -o rekor-server_test -mod=readonly ./cmd/rekor-server

# debug compile options & debugger
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:766687c5dfdc178b60033307127f37866a719996f35965bbf56705f59a92aade as debug
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:503180314bc0d2812fa941c98f56352db498deed76955f08599e04e283db23ff as debug
RUN go install github.com/go-delve/delve/cmd/[email protected]

# overwrite server and include debugger
COPY --from=build-env /opt/app-root/src/rekor-server_debug /usr/local/bin/rekor-server

FROM registry.access.redhat.com/ubi9/go-toolset@sha256:766687c5dfdc178b60033307127f37866a719996f35965bbf56705f59a92aade as test
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:503180314bc0d2812fa941c98f56352db498deed76955f08599e04e283db23ff as test

USER root

Expand All @@ -60,7 +60,7 @@ RUN mkdir -p /var/run/attestations && \
COPY --from=build-env /opt/app-root/src/rekor-server_test /usr/local/bin/rekor-server

# Multi-Stage production build
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:29790f898839e92c0554d031856e1770254f27e66af593fc088fbb7d3e5e298e as deploy
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:82fad27b91361473d919522a01a1198f327230bf8d2b569a8995bdcd6ac7cb94 as deploy

LABEL description="Rekor aims to provide an immutable, tamper-resistant ledger of metadata generated within a software project’s supply chain."
LABEL io.k8s.description="Rekor-Server provides a tamper resistant ledger."
Expand Down

0 comments on commit 89ac508

Please sign in to comment.