chore(core): Docker build 缩小 image size 更新github action (#7197)
This commit is contained in:
@@ -10,24 +10,22 @@ on:
|
||||
push:
|
||||
branches: '*'
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
- 'lib/**'
|
||||
- 'Dockerfile'
|
||||
- 'package.json'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
if: github.repository == 'DIYgod/RSSHub'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
buildx-version: latest
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
-
|
||||
name: Build dockerfile (without push)
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user