mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-27 14:14:50 +02:00
ci: extract OCI images before loading and before login
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
5d16f5392b
commit
e816d3ffc0
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
|
needs: build-oci
|
||||||
|
|
||||||
steps:
|
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
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
env:
|
env:
|
||||||
|
@ -314,11 +321,6 @@ jobs:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
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
|
- name: Create and Push Manifest to Docker Hub
|
||||||
run: |
|
run: |
|
||||||
DOCKER_IMAGE_NAME="docker.io/${{ github.repository }}"
|
DOCKER_IMAGE_NAME="docker.io/${{ github.repository }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue