From 73334858e8f2f61a1b09359e790a6a30420461fa Mon Sep 17 00:00:00 2001 From: bennibbelink <79653949+bennibbelink@users.noreply.github.com> Date: Mon, 5 Feb 2024 13:34:55 -0600 Subject: [PATCH] reorder login step --- .github/workflows/build_test.yml | 6 +++--- .github/workflows/publish_latest.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 1548ee8e5..878d3b1fe 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -42,6 +42,9 @@ jobs: steps: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to the Container registry uses: docker/login-action@v3 with: @@ -49,9 +52,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Checkout Cycamore uses: actions/checkout@v4 diff --git a/.github/workflows/publish_latest.yml b/.github/workflows/publish_latest.yml index 97bfd2edf..6a60911a8 100644 --- a/.github/workflows/publish_latest.yml +++ b/.github/workflows/publish_latest.yml @@ -40,6 +40,12 @@ jobs: run: | echo "tag=latest" >> "$GITHUB_ENV" + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to the Container registry uses: docker/login-action@v3 with: @@ -47,12 +53,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Build and Test Cycamore uses: docker/build-push-action@v5 with: