Skip to content

Commit

Permalink
refine ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kslr committed Jan 6, 2021
1 parent 7b3312a commit d12e21b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ on:
push:
paths:
- "ReleaseTag"
- "v2ray.sh"
- "Dockerfile"
- ".github/workflows/docker-push.yml"

name: docker push
jobs:
Expand Down Expand Up @@ -31,14 +34,14 @@ jobs:

- name: Build latest
run: |
docker buildx build --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x \
docker buildx build --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \
--output "type=image,push=true" \
--tag "${{ secrets.DOCKER_USERNAME }}/v2fly-core:latest" \
--file Dockerfile .
- name: Build tag
run: |
docker buildx build --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x \
docker buildx build --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \
--output "type=image,push=true" \
--tag "${{ secrets.DOCKER_USERNAME }}/v2fly-core:${{ env.TAG }}" \
--file Dockerfile .
Expand Down

0 comments on commit d12e21b

Please sign in to comment.