Skip to content
Snippets Groups Projects
Unverified Commit 36ea8bae authored by Jake Sanders's avatar Jake Sanders Committed by GitHub
Browse files

Update docker go version and github actions (#372)


Signed-off-by: default avatarJake Sanders <jsand@google.com>
parent 6031d7ce
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v2.3.4
- uses: sigstore/cosign-installer@main
with:
cosign-release: 'v0.5.0'
cosign-release: 'v0.6.0'
- name: Extract version of Go to use
run: echo "GOVERSION=$(cat Dockerfile|grep golang | awk ' { print $2 } ' | sed -r 's/^.*://g'| uniq)" >> $GITHUB_ENV
- uses: actions/setup-go@v2
......
......@@ -47,5 +47,4 @@ jobs:
uses: golangci/golangci-lint-action@v2.5.2
timeout-minutes: 5
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.39
version: latest
......@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.16.5 AS builder
FROM golang:1.16.6 AS builder
ENV APP_ROOT=/opt/app-root
ENV GOPATH=$APP_ROOT
......@@ -30,7 +30,7 @@ RUN go build -ldflags "${SERVER_LDFLAGS}" ./cmd/rekor-server
RUN CGO_ENABLED=0 go build -gcflags "all=-N -l" -ldflags "${SERVER_LDFLAGS}" -o rekor-server_debug ./cmd/rekor-server
# Multi-Stage production build
FROM golang:1.16.5 as deploy
FROM golang:1.16.6 as deploy
# Retrieve the binary from the previous stage
COPY --from=builder /opt/app-root/src/rekor-server /usr/local/bin/rekor-server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment