Skip to content

Commit

Permalink
ci: docker镜像构建
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Jul 5, 2024
1 parent d280df4 commit 54993b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [ linux ]
goarch: [ "386", amd64, arm, arm64 ]
exclude:
Expand Down Expand Up @@ -74,6 +73,7 @@ jobs:
- name: Docker build and push
uses: docker/build-push-action@v5
with:
platforms: ${{ matrix.platform }}
push: true
file: Dockerfile
# 如果IMAGE_TAG为空,则使用${{ steps.vars.outputs.sha_short }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm, arm64]
exclude:
Expand Down

0 comments on commit 54993b4

Please sign in to comment.