Skip to content

fix: fix secret not being removed from /config response (#58) #92

fix: fix secret not being removed from /config response (#58)

fix: fix secret not being removed from /config response (#58) #92

Workflow file for this run

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