Skip to content

disable dnsmasq metrics #73

disable dnsmasq metrics

disable dnsmasq metrics #73

Workflow file for this run

name: Docker
on:
push:
branches:
- main
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache cargo & target directories
uses: Swatinem/rust-cache@v2
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: build
target: aarch64-unknown-linux-gnu
args: "--locked --release"
strip: true
- name: Create release tarball
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
cp ./target/aarch64-unknown-linux-gnu/release/router-monitor ./router-monitor
chmod +x router-monitor
tar czf router-monitor-aarch64-linux.tar.gz router-monitor
- name: Create github release
id: create_release
uses: ncipollo/release-action@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
artifacts: router-monitor-aarch64-linux.tar.gz
- uses: blesswinsamuel/github-actions/docker-build-and-push@main
with:
checkout: false
docker-registry: docker.io
docker-image-name: ${{ github.repository }}
docker-username: ${{ github.actor }}
docker-password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
docker-build-platforms: linux/arm64