ci: buf push draft if not in master #143
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: Build docker image | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-cpu16-ram64 | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Git fetch everything | |
run: git fetch --prune --unshallow | |
- | |
name: Pull LFS files | |
run: git lfs pull | |
- | |
name: Build docker | |
run: | |
docker build . --file docker/build.Dockerfile | |