Skip to content

Commit

Permalink
Merge pull request #155 from aipeach/dev
Browse files Browse the repository at this point in the history
Update build_meta_image.yml
  • Loading branch information
AirportR authored Feb 4, 2024
2 parents ff3d3b6 + b55c3bd commit 78ab265
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build_meta_image.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: build_meta_image

on:
workflow_dispatch:
push:
paths:
- 'docker/Metafile'
- 'docker/Metafile.alpine'
branches:
- "dev"

jobs:
docker:
Expand Down Expand Up @@ -40,4 +45,4 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.IMAGE }}:alpine
${{ env.IMAGE }}:alpine
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ jobs:
push: true
tags: |
${{ env.IMAGE }}:latest
${{ env.IMAGE }}:debian-${{ github.ref_name }}
build-args: |
GIT_Branch=${{ github.ref_name }}
- name: Build Debian Image
if: ${{ github.ref_name != 'dev' }}
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
Expand All @@ -52,8 +54,6 @@ jobs:
push: true
tags: |
${{ env.IMAGE }}:debian-${{ github.ref_name }}
build-args: |
GIT_Branch=${{ github.ref_name }}
- name: Build Alpine Image
uses: docker/build-push-action@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ docker pull airportr/fulltclash:latest
- debian-dev
- alpine-dev
- debian-master
- debian-master
- alpine-master

### docker

Expand All @@ -59,7 +59,7 @@ docker run -idt \
-e core=4 \
-e startup=1124 \
-e speedthread=4 \
-e nospeed=true \
-e nospeed=false \
-e s5_proxy=127.0.0.1:7890 \
-e http_proxy=127.0.0.1:7890 \
--network=host \
Expand Down

0 comments on commit 78ab265

Please sign in to comment.