diff --git a/.forgejo/workflows/build_penpot.yml b/.forgejo/workflows/build_penpot.yml index 6a24fac..69afc3c 100644 --- a/.forgejo/workflows/build_penpot.yml +++ b/.forgejo/workflows/build_penpot.yml @@ -18,19 +18,16 @@ jobs: image-type: [ frontend, backend, exporter ] steps: - name: Install required system packages - run: apk add --no-cache nodejs + run: apk add --no-cache nodejs git curl - - name: Setup penpot repo - uses: actions/checkout@v6 - with: - github-server-url: github.com - repository: penpot/penpot.git - ref: ${{ matrix.image-penpot-version }} - submodules: recursive - path: penpot + - name: Clone penpot repo + run: | + git clone --branch="${{ matrix.penpot-version }}" https://github.com/penpot/penpot.git "${{ forgejo.workspace }}/penpot" + cd "${{ forgejo.workspace }}/penpot" + git submodule update --init --recursive - name: Patch penpot to work with kaniko - run: | + run: | # Get build system patch allowing for building images with kaniko. # https://github.com/penpot/penpot/pull/4945 # https://github.com/penpot/penpot/pull/4945/commits/752574bac789cc90cc218004bb9545cc6239895d