From d295205797d63daa6a203c633a63ca964746ca6f Mon Sep 17 00:00:00 2001 From: Peefy Date: Wed, 20 Nov 2024 11:05:25 +0800 Subject: [PATCH] chore: update the latest tag Signed-off-by: Peefy --- .github/workflows/release.yaml | 24 +++--------------------- Dockerfile | 2 ++ 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a49bc8e..012e390 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,25 +56,7 @@ jobs: context: . file: ./Dockerfile platforms: linux/amd64,linux/arm64 - tags: ${{ steps.meta.outputs.tags }} + tags: | + kcllang/kcl:latest + ghcr.io/kcl-lang/kcl:latest labels: ${{ steps.meta.outputs.labels }} - - binary: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: go.mod - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }} diff --git a/Dockerfile b/Dockerfile index d23760e..a720d56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ RUN kcl version && \ RUN apt-get update && \ apt-get install -y --no-install-recommends git ca-certificates && \ rm -rf /var/lib/apt/lists/* +# Create the temporary directory +RUN mkdir -p /tmp # Configure KCL runtime environment # Set temporary directories for write permissions