From 16ae60c3e5c25fbcf04126ce9eb70f6a23238561 Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Tue, 9 Jan 2024 15:05:01 -0500 Subject: [PATCH] Rearrange and document more --- .github/workflows/vcpkg_docker.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/vcpkg_docker.yml b/.github/workflows/vcpkg_docker.yml index 0edfb12c..349f145c 100644 --- a/.github/workflows/vcpkg_docker.yml +++ b/.github/workflows/vcpkg_docker.yml @@ -129,6 +129,14 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Login to GHCR + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + + # BEGIN Copied to the previous job - name: Generate Tag env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} @@ -148,13 +156,7 @@ jobs: latest=false tags: | type=raw,value=${{ env.TEST_TAG }}${{ matrix.ubuntu_version }} - - - name: Login to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + # END Copied from the previous job - name: Create manifest list and push working-directory: /tmp/digests