Skip to content

Commit

Permalink
ci: use alpine3.18 as base image in builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockwarr committed Jul 23, 2024
1 parent cf6ade6 commit 4db8ee3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/images/builder.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
FROM golang:1.22.5-alpine3.20
# Use alpine:3.18 as base image and manually download golang temporarily
# TODO: once we migrate to wasmvm 2.1.0, we can go back to using base golang image
FROM alpine:3.18

ENV PATH /usr/local/go/bin:$PATH
COPY --from=golang:1.22 /usr/local/go /usr/local/go

ARG LEDGER_ENABLED
ENV LEDGER_ENABLED=${LEDGER_ENABLED:-false}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
ERC_REGISTRY_ALIAS: "nolus"
ERC_REPOSITORY: "builder"
# make sure to update build-binary container tag as well
IMAGE_TAG: "1.22.2"
IMAGE_TAG: "1.22.3"
DOCKERFILE: ".github/images/builder.Dockerfile"
CHECKSUM_FILE: "sha256sum.txt"
METADATA_FILE: "${{ github.ref_name }}_binaries.json"
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
runs-on: ubuntu-latest
container:
# image name needs to be hardcoded: https://github.com/orgs/community/discussions/26324
image: "public.ecr.aws/nolus/builder:1.22.2"
image: "public.ecr.aws/nolus/builder:1.22.3"

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 4db8ee3

Please sign in to comment.