Skip to content

Commit 84cae8c

Browse files
committed
fix(ci): scope macos docker setup to wheel job
1 parent 46390ba commit 84cae8c

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/release-dev.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,6 @@ jobs:
125125
- name: Mark workspace safe for git
126126
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
127127

128-
- name: Log in to GHCR
129-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
130-
131-
- name: Set up Docker Buildx
132-
uses: ./.github/actions/setup-buildx
133-
134128
- name: Sync Python dependencies
135129
run: uv sync
136130

@@ -179,6 +173,12 @@ jobs:
179173
- name: Mark workspace safe for git
180174
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
181175

176+
- name: Log in to GHCR
177+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
178+
179+
- name: Set up Docker Buildx
180+
uses: ./.github/actions/setup-buildx
181+
182182
- name: Sync Python dependencies
183183
run: uv sync
184184

.github/workflows/release-tag.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,6 @@ jobs:
146146
- name: Mark workspace safe for git
147147
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
148148

149-
- name: Log in to GHCR
150-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
151-
152-
- name: Set up Docker Buildx
153-
uses: ./.github/actions/setup-buildx
154-
155149
- name: Sync Python dependencies
156150
run: uv sync
157151

@@ -201,6 +195,12 @@ jobs:
201195
- name: Mark workspace safe for git
202196
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
203197

198+
- name: Log in to GHCR
199+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
200+
201+
- name: Set up Docker Buildx
202+
uses: ./.github/actions/setup-buildx
203+
204204
- name: Sync Python dependencies
205205
run: uv sync
206206

0 commit comments

Comments
 (0)