Skip to content

sing-box-builder

sing-box-builder #58

name: sing-box-builder
on:
workflow_dispatch:
schedule:
- cron: '30 8 * * *' # At every 8:30
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: clone sing-box repo
run: git clone https://github.com/SagerNet/sing-box.git
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
context: sing-box
file: sing-box/Dockerfile
tags: poormancontainer/sing-box:latest