From 81f551abb8a40968170e4e5241179a53660fd868 Mon Sep 17 00:00:00 2001 From: Jetsung Chan Date: Wed, 11 Dec 2024 02:46:14 +0800 Subject: [PATCH] fix: github action --- .github/workflows/release.yml | 4 ++-- Containerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19a5472..039bcf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: with: context: . file: ./Containerfile - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 push: true tags: ${{ env.IMAGE_REGISTRY }}/idevsig/filetas:latest @@ -72,6 +72,6 @@ jobs: with: context: . file: ./Containerfile - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 push: true tags: idevsig/filetas:latest \ No newline at end of file diff --git a/Containerfile b/Containerfile index b2df9ff..a46c230 100644 --- a/Containerfile +++ b/Containerfile @@ -7,7 +7,7 @@ FROM alpine:latest LABEL maintainer="Jetsung Chan" WORKDIR /app -COPY --from=builder /usr/local/cargo/bin/filetas /usr/local/bin/filetas +COPY --from=builder /app/filetas /usr/local/bin/filetas COPY --from=builder /app/static /app/static COPY --from=builder /app/templates /app/templates