diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8616e9f..9ef76bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,5 @@ name: Build on: [pull_request, push] -env: - PKGFORGE_STATEFILE: /tmp/pkgforge jobs: build: name: Build @@ -12,8 +10,14 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Make + env: + PKGFORGE_STATEFILE: /tmp/pkgforge + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} run: make - name: Release + env: + PKGFORGE_STATEFILE: /tmp/pkgforge + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} if: startsWith(github.ref, 'refs/tags/') run: make release - name: Notify on success diff --git a/Dockerfile b/Dockerfile index 81c6b9a..bfbb7b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM dock0/pkgforge RUN sed -i 's/^SigLevel = Required/SigLevel = TrustAll/' /etc/pacman.conf -RUN pacman -Sy --noconfirm archlinux-keyring +RUN pacman -Sy --noconfirm archlinux-keyring RUN pacman -Syu --needed --noconfirm mkinitcpio arch-install-scripts RUN gem install --no-document --no-user-install pkgforge targit