diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b09b58..9aaab94 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,27 +2,30 @@ name: Test build on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] workflow_dispatch: jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./test steps: - - uses: actions/checkout@master + - uses: actions/checkout@master - - name: Build Package - uses: ./ - with: - package_name: ciallo - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} + - name: Build Package + uses: ./ + with: + package_name: ciallo + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} - - name: Upload Package - uses: actions/upload-artifact@main - with: - name: ciallo-package - path: test/ciallo/*.pkg.tar.zst* + - name: Upload Package + uses: actions/upload-artifact@main + with: + name: ciallo-package + path: test/ciallo/*.pkg.tar.zst* diff --git a/Dockerfile b/Dockerfile index 75c4d0a..55a4c9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,8 @@ FROM archlinux:base-devel RUN pacman -Syu --noconfirm RUN pacman -S git gnupg --noconfirm + COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh + ENTRYPOINT ["/entrypoint.sh"]