ci: extract OCI images before loading and before login
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
aaba7342b5
commit
820cf3b9af
1 changed files with 7 additions and 5 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue