This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
Builder #831
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: Builder | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: "0 2 * * *" | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
echo ${GITHUB_TOKEN} | docker login -u ${GITHUB_ACTOR} --password-stdin docker.pkg.github.com | |
docker pull 'docker.pkg.github.com/kbeckmann/ubuntubuilder/ubuntubuilder' | |
docker tag docker.pkg.github.com/kbeckmann/ubuntubuilder/ubuntubuilder:latest ubuntubuilder | |
docker run --rm -v $(pwd):/build -w /build ubuntubuilder sudo ./build.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Archive artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: openocd-git.deb | |
path: openocd-git*.deb |