add api endpoint for logs #8
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: dnsdist_logs Docker Image CI | |
on: | |
push: | |
branches: ["master"] | |
paths: | |
- adblock_dnsdist_logs/** | |
- .github/workflows/build-dnsdist_logs-docker-image.yml | |
pull_request: | |
branches: ["master"] | |
paths: | |
- adblock_dnsdist_logs/** | |
- .github/workflows/build-dnsdist_logs-docker-image.yml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push the Docker image | |
run: ./scripts/build.sh | |
working-directory: ./adblock_dnsdist_logs |