Nightly Build (ubuntu/quay) #868
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: Nightly Build (ubuntu/quay) | |
on: | |
schedule: | |
- cron: ' 35 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure Host | |
run: | | |
chmod +x Setup_Host.sh | |
./Setup_Host.sh | |
- name: Cleanup Old Docker images if any | |
run: docker system prune -af | |
- name: Pull Docker Image from quay | |
run: docker pull quay.io/gluster/ubuntu-gluster-build | |
- name: Running Build in ubuntu Container | |
run: docker run --security-opt seccomp=unconfined --name container_gluster -v /build-out:/out quay.io/gluster/ubuntu-gluster-build | |
- name: Upload Artifactory | |
uses: actions/upload-artifact@v2 | |
with: | |
name: gluster-deb | |
path: /build-out/*.*deb | |
retention-days: 1 |