Bump the docker-deps group across 1 directory with 2 updates #23
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR build | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| pr-build-poetry: | |
| name: PR Build with Poetry | |
| runs-on: [self-hosted, linux, X64] | |
| container: | |
| image: starwitorg/base-python-image:0.0.15 | |
| volumes: | |
| - /home/githubrunner/.cache/pypoetry:/root/.cache/pypoetry | |
| steps: | |
| #---------------------------------------------- | |
| # check-out repo and set-up python | |
| #---------------------------------------------- | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Setup | |
| run: | | |
| python --version | |
| poetry --version | |
| #---------------------------------------------- | |
| # install your root project, if required | |
| #---------------------------------------------- | |
| - name: Install project | |
| run: | | |
| poetry config cache-dir /root/.cache/pypoetry | |
| bash -c "make test" | |
| apt-build: | |
| name: package APT | |
| runs-on: [self-hosted, linux, X64] | |
| container: | |
| image: starwitorg/debian-packaging:0.0.3 | |
| env: | |
| PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_FLAT }} | |
| GPG_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY_B64 }} | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: build apt package | |
| run: | | |
| echo "Build APT package" | |
| bash -c "poetry self add poetry-plugin-export; make build-deb" | |
| echo "Finish building APT package" |