ci: extract OCI images before loading and before login

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
Tom Foster 2024-04-21 12:45:47 -04:00 committed by June
parent aaba7342b5
commit 820cf3b9af

View file

@ -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 }}"