chore(deps): bump requests from 2.31.0 to 2.32.0 (#60) #102
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: CI | |
on: [push] | |
jobs: | |
test: | |
name: ARK Resolver Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- name: Disk Free | |
run: | | |
df -h | |
docker system df | |
docker system prune --all --force --volumes | |
df -h | |
- name: Run ARK resolver unit tests | |
run: make test | |
- name: Disk Free After | |
run: | | |
df -h | |
docker system df | |
# publish only for develop and tags | |
publish: | |
name: Publish to Dockerhub | |
needs: [test] | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags') | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 50 | |
- name: Disk Free | |
run: | | |
df -h | |
docker system df | |
docker system prune --all --force --volumes | |
df -h | |
- name: build and publish all images to Dockerhub | |
run: | | |
echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin | |
make publish | |
- name: Disk Free After | |
run: | | |
df -h | |
docker system df |