Skip to content

Commit

Permalink
Merge pull request #135 from aipeach/patch-1
Browse files Browse the repository at this point in the history
添加docker镜像
  • Loading branch information
AirportR authored Nov 27, 2023
2 parents 17da2ae + 7f4fb7d commit f7ed3f9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ci

on:
push:
branches:
- "dev"

jobs:
docker:
runs-on: ubuntu-latest
steps:
- 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: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
file: ./docker/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/fulltclash:latest
ghcr.io/${{ github.repository_owner }}/fulltclash:dev

0 comments on commit f7ed3f9

Please sign in to comment.