From c469113a777695b8c9c2a89d71619b6c6542f85b Mon Sep 17 00:00:00 2001 From: Ksenia Krasheninnikova Date: Tue, 19 Mar 2024 16:47:39 +0000 Subject: [PATCH] Move login section --- .github/workflows/ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fcd5d4..a1d2212 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,15 +18,6 @@ concurrency: cancel-in-progress: true jobs: - login: - runs-on: ubuntu2204-4c - steps: - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} test: name: Run pipeline with test data # Only run on push if this is the nf-core dev branch (merged PRs) @@ -38,6 +29,12 @@ jobs: - "22.10.1" - "latest-everything" steps: + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Check out pipeline code uses: actions/checkout@v3