Skip to content

Commit

Permalink
Update composeImage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aicnal committed Nov 4, 2024
1 parent 723bd72 commit 9178aab
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/composeImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: 构建镜像并推送到Docker Hub
on: push

jobs:
docker-build-linux:
name: Docker build Linux
runs-on: ubuntu-latest

docker-build-macos:
name: Docker build macOS
runs-on: macos-latest

steps:
- name: 读取仓库内容
uses: actions/checkout@v4

- name: Setup Docker on macOS
uses: douglascamata/setup-docker-macos-action@v1-alpha

- name: 登陆DockerHub
uses: docker/login-action@v3
with:
Expand All @@ -20,4 +24,6 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: aicnal/linux-image-compressor:latest
tags: aicnal/linux-image-compressor:latest


0 comments on commit 9178aab

Please sign in to comment.