Skip to content

Commit

Permalink
Merge pull request #153 from ywk253100/230410_aws
Browse files Browse the repository at this point in the history
Pin Golang and busybox version for v1.11.
  • Loading branch information
reasonerjt authored Apr 10, 2023
2 parents 36ccd20 + b41d8a7 commit 0a0e28a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.19.8
id: go

- name: Check out the code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.19.8
id: go

- name: Check out code into the Go module directory
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM --platform=$BUILDPLATFORM golang:1.19-bullseye AS build
FROM --platform=$BUILDPLATFORM golang:1.19.8-bullseye AS build

ARG TARGETOS
ARG TARGETARCH
Expand All @@ -29,7 +29,7 @@ WORKDIR /go/src/velero-plugin-for-aws
RUN export GOARM=$( echo "${GOARM}" | cut -c2-) && \
CGO_ENABLED=0 go build -v -o /go/bin/velero-plugin-for-aws ./velero-plugin-for-aws

FROM busybox:1.36.0-uclibc AS busybox
FROM busybox@sha256:91540637a8c1bd8374832a77bb11ec286c9599ff8b528d69794f5dea6e257fd9 AS busybox

FROM scratch
COPY --from=build /go/bin/velero-plugin-for-aws /plugins/
Expand Down

0 comments on commit 0a0e28a

Please sign in to comment.