From b31b1b5d563c84f0549b21a0028a5a384fbb8a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lio=E6=9D=8E=E6=AD=90?= Date: Wed, 3 Sep 2025 11:43:57 -0700 Subject: [PATCH 1/2] Update curl command to use -f option for safety --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1e873c8..a3d78e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,4 +39,4 @@ ENV PATH="/usr/bin:$PATH" ARG RAILPACK_VERSION ENV RAILPACK_VERSION=${RAILPACK_VERSION} -RUN curl -sSL https://railpack.com/install.sh | bash +RUN curl -fsSL https://railpack.com/install.sh | bash From 519ab6ebc5353aa7313f3ac0e5ec99423d8a2e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lio=E6=9D=8E=E6=AD=90?= Date: Wed, 3 Sep 2025 11:44:37 -0700 Subject: [PATCH 2/2] Refactor Docker image release workflow --- .github/workflows/docker-image-release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/docker-image-release.yml b/.github/workflows/docker-image-release.yml index 7ab1b9c..3a82d8f 100644 --- a/.github/workflows/docker-image-release.yml +++ b/.github/workflows/docker-image-release.yml @@ -4,10 +4,6 @@ on: push: branches: ["main"] -env: - BUILD_ARGS: | - RAILPACK_VERSION=0.4.0 - jobs: build-arm: runs-on: ubuntu-24.04-arm @@ -18,7 +14,6 @@ jobs: - name: Build and push multi-arch Docker image uses: docker/build-push-action@v6 with: - build-args: ${{ env.BUILD_ARGS }} file: Dockerfile platforms: linux/arm64 push: false @@ -84,7 +79,6 @@ jobs: - name: Build and push multi-arch Docker image uses: docker/build-push-action@v6 with: - build-args: ${{ env.BUILD_ARGS }} file: Dockerfile platforms: linux/amd64,linux/arm64 push: true