Skip to content

remove aya code

remove aya code #93

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: Setup Go
uses: actions/setup-go@v5
- name: Build
run: |
go generate ./...
GOOS=linux GOARCH=arm64 go build -o router-monitor
- name: Create release tarball
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
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