From 820cf3b9af2db7882dda2252223ff294ccf0fa0d Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Sun, 21 Apr 2024 12:45:47 -0400 Subject: [PATCH] ci: extract OCI images before loading and before login Signed-off-by: strawberry --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee6adaeb..fb5d8899 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -296,6 +296,13 @@ jobs: needs: build-oci steps: + - name: Extract and load OCI Images + run: | + unzip oci-image-x86_64-unknown-linux-musl-jemalloc.zip + docker load -i oci-image-x86_64-unknown-linux-musl-jemalloc.tar.gz + unzip oci-image-aarch64-unknown-linux-musl-jemalloc.zip + docker load -i oci-image-aarch64-unknown-linux-musl-jemalloc.tar.gz + - name: Login to Docker Hub uses: docker/login-action@v3 env: @@ -314,11 +321,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Load OCI Images - run: | - docker load -i oci-image-x86_64-unknown-linux-musl-jemalloc.tar.gz - docker load -i oci-image-aarch64-unknown-linux-musl-jemalloc.tar.gz - - name: Create and Push Manifest to Docker Hub run: | DOCKER_IMAGE_NAME="docker.io/${{ github.repository }}"