diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f79fe64254..fa58af603f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -260,7 +260,6 @@ jobs: - name: Build and push docker image uses: docker/build-push-action@v4 with: - no-cache: true push: true tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ needs.prepare.outputs.tag_name }} platforms: linux/arm64 @@ -298,7 +297,6 @@ jobs: with: build-contexts: | artifacts=artifacts - no-cache: true push: true tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ needs.prepare.outputs.tag_name }} platforms: linux/amd64 diff --git a/Dockerfile b/Dockerfile index f936de7016..5d959e7fa8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:buster-slim as base +FROM debian:bookworm-slim as base LABEL description="Dojo is a provable game engine and toolchain for building onchain games and autonomous worlds with Cairo" \ authors="tarrence " \ @@ -11,8 +11,16 @@ COPY --from=artifacts x86_64-unknown-linux-gnu/release/katana /usr/local/bin/kat COPY --from=artifacts x86_64-unknown-linux-gnu/release/sozo /usr/local/bin/sozo COPY --from=artifacts x86_64-unknown-linux-gnu/release/torii /usr/local/bin/torii +RUN chmod +x /usr/local/bin/katana \ + && chmod +x /usr/local/bin/sozo \ + && chmod +x /usr/local/bin/torii + FROM base as arm64 COPY --from=artifacts aarch64-unknown-linux-gnu/release/katana /usr/local/bin/katana COPY --from=artifacts aarch64-unknown-linux-gnu/release/sozo /usr/local/bin/sozo COPY --from=artifacts aarch64-unknown-linux-gnu/release/torii /usr/local/bin/torii + +RUN chmod +x /usr/local/bin/katana \ + && chmod +x /usr/local/bin/sozo \ + && chmod +x /usr/local/bin/torii \ No newline at end of file