From 9b24465a9bd1e8bbc4ae77221dc3864dfce5baf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Mon, 22 Jul 2024 09:06:45 +0200 Subject: [PATCH 1/2] Update Go base image to 1.22 Medusa now requires Go 1.22+ to build. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b67fed..53de08e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ### ### Medusa build process ### -FROM golang:1.21 AS medusa +FROM golang:1.22 AS medusa WORKDIR /src RUN git clone https://github.com/crytic/medusa.git From 5a9c267eb4d79be439a36dcb8c5b77ec44543867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Mon, 22 Jul 2024 09:09:28 +0200 Subject: [PATCH 2/2] ci: docker: update GitHub actions --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 879d016..1bf56e0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -33,7 +33,7 @@ jobs: - name: Set Docker metadata id: metadata - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ghcr.io/${{ github.repository }} @@ -60,7 +60,7 @@ jobs: password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} - name: Docker Build and Push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: platforms: linux/amd64,linux/arm64/v8 target: toolbox