Skip to content

Commit

Permalink
Update build-sing-box.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fs8vsx59h authored Oct 31, 2023
1 parent 16d2ea4 commit a5fbb12
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build-sing-box.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,27 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

-
name: clone sing-box repo
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: clone sing-box repo
run: git clone https://github.com/SagerNet/sing-box.git

-
name: Login to DockerHub
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

-
name: Build and push Docker images
- name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
context: sing-box
platforms: linux/amd64,linux/arm64
file: sing-box/Dockerfile
tags: poormancontainer/sing-box:latest

0 comments on commit a5fbb12

Please sign in to comment.