Set number of make jobs using nproc #53
This file contains 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: ubuntu | |
on: | |
push: | |
branches: | |
- "*" | |
paths-ignore: | |
- "dev/**" | |
- "docker-compose.yml" | |
- "docker-compose-dc1.yml" | |
- "LICENSE" | |
- "Makefile" | |
- "README.md" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Download latest samba tar file | |
run: curl -o samba.tar.gz https://download.samba.org/pub/samba/samba-latest.tar.gz | |
- name: Build the Docker image | |
run: docker build . --file dockerfiles/ubuntu --tag samba-ubuntu |