diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 40dcc79..a9717c8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -52,7 +52,7 @@ jobs: with: go-version: ${{ matrix.golang }} - name: Cache Go modules - uses: actions/cache@v3.0.2 + uses: actions/cache@v3.0.4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} @@ -109,7 +109,7 @@ jobs: uses: actions/setup-go@v3 with: go-version: ${{ matrix.golang }} - - uses: actions/cache@v3.0.2 + - uses: actions/cache@v3.0.4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} @@ -153,7 +153,7 @@ jobs: uses: actions/setup-go@v3 with: go-version: ${{ matrix.golang }} - - uses: actions/cache@v3.0.2 + - uses: actions/cache@v3.0.4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5cda537..39db535 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Cache Go modules if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true' - uses: actions/cache@v3.0.2 + uses: actions/cache@v3.0.4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index cde3a60..e4e3838 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -30,7 +30,7 @@ jobs: env: SCORECARD_READ_TOKEN: ${{ secrets.SCORECARD_READ_TOKEN }} if: env.SCORECARD_READ_TOKEN != null - uses: ossf/scorecard-action@f10ec7151e838890a3fbfa27875a33f80869977b # v1.0.4 + uses: ossf/scorecard-action@f056c0cb88b889a382746e7e6101078f59e384d6 # v1.0.4 with: results_file: results.sarif results_format: sarif diff --git a/Dockerfile b/Dockerfile index 411382e..12aee96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VCS_REF ARG VERSION # build -FROM golang:1.18.2-alpine as builder +FROM golang:1.18.3-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on WORKDIR /go/src/moul.io/golang-repo-template @@ -14,7 +14,7 @@ COPY . ./ RUN make install # minimalist runtime -FROM alpine:3.15.4 +FROM alpine:3.16.0 LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.name="golang-repo-template" \ org.label-schema.description="" \