Skip to content

Commit 4149801

Browse files
authored
Revert conditional docker-login step in CI (#3779)
* Revert "Remove condition in docker-login ci (#3776)" This reverts commit a4a6cdc. * fix clippy
1 parent c6cd364 commit 4149801

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -551,12 +551,6 @@ jobs:
551551
if: startsWith(runner.name, 'GitHub Actions')
552552
uses: ./.github/actions/disk-cleanup
553553

554-
- name: Dockerhub login
555-
uses: docker/login-action@v3
556-
with:
557-
username: ${{ secrets.DOCKERHUB_USERNAME }}
558-
password: ${{ secrets.DOCKERHUB_PASSWORD }}
559-
560554
- name: Set up Docker Buildx
561555
uses: docker/setup-buildx-action@v3
562556
with:
@@ -576,6 +570,13 @@ jobs:
576570
build-args: |
577571
CARGO_FEATURES=mock-server
578572
573+
- name: Dockerhub login
574+
if: needs.set-condition.outputs.rebuild_omni_executor == 'false'
575+
uses: docker/login-action@v3
576+
with:
577+
username: ${{ secrets.DOCKERHUB_USERNAME }}
578+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
579+
579580
- name: Pull omni-executor image optionally
580581
if: needs.set-condition.outputs.rebuild_omni_executor == 'false'
581582
run: |

parachain/Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)