Github Actions falied for space with docker sdk
Hi there, I tried to manage my space using github actions so i followed the github actions doc in huggingface doc and when i tried to execute the workflow it showed error. I literally did everything huggingface team wrote in the doc still it failed. can anybody help?
2024-06-04T01:00:03Z
hi@iamgianna,Can you share a bit more? Could you read the GH action logs?One suggestion, this is on recent Space I’ve worked on, it uses a specialGH Workflowwhich I recommendFeel free to use it as a templategithub.comradames/ai-town-huggingface/blob/main/.github/workflows/hf-sync.ymlname: Sync to Hugging Face Spaces
on:
  push:
    branches:
      - main
jobs:
  sync:
    name: Sync
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4
        with:
          lfs: true
      - name: Sync to Hugging Face Spaces
        uses: JacobLinCool/huggingface-sync@v1
        with:
          github: ${{ secrets.GITHUB_TOKEN }}
          user: ${{ vars.HF_SPACE_OWNER }}
          space: ${{ vars.HF_SPACE_NAME }}This file has been truncated.show originalDon’t forgetgithub.comradames/ai-town-huggingface/blob/main/README.md.ymltitle: AI Town on HuggingFace
emoji: 🏠💻💌🤗
colorFrom: green
colorTo: red
sdk: docker
app_port: 5173
pinned: false
disable_embedding: true
# header: mini
short_description: AI Town on HuggingFace
REDACTED_TOKEN: trueAnd add youHF_TOKENunder you repohttps://github.com/USER/REPO/settings/secrets/actions/
2024-06-05T21:48:38Z
Hey@radamesI am woking on a search engine project and I wanna integrate Redis’s in memory database to my project. I tried deploying Redis using the Docker sdk so I used this following Dockerfile and it failed showed- “Failed to write PID file: Permission denied” you can check the files and logs also I disabled the snapshotting.FROM redisCOPY redis.conf /usr/local/etc/redis/redis.confCMD [ “redis-server”, “/usr/local/etc/redis/redis.conf” ]huggingface.coRedis - a Hugging Face Space by janebrownDiscover amazing ML apps made by the community