Skip to content

Commit 4c98123

Browse files
authored
chore(ci): fix docker build dependency and skip anchor init test (#4348)
1 parent fa694ce commit 4c98123

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
publish-dockerhub:
123123
name: Publish Docker image to Dockerhub
124124
runs-on: ubuntu-latest
125-
needs: verify-tag
125+
needs: [verify-tag, publish-crates]
126126
if: ${{ needs.verify-tag.outputs.verification_passed == 'true' }}
127127
permissions:
128128
contents: read

.github/workflows/reusable-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,8 @@ jobs:
345345
needs: setup-anchor-cli
346346
name: Test Anchor Init
347347
runs-on: ubuntu-latest
348+
# Release PRs bump the version, but the version is obviously not available yet making this test always fail in those scenarios
349+
if: "!startsWith(github.head_ref, 'release/')"
348350
timeout-minutes: 30
349351
strategy:
350352
matrix:

0 commit comments

Comments
 (0)