fix gitea
All checks were successful
release / Release (push) Successful in 6m55s

This commit is contained in:
2026-02-27 18:49:19 +09:00
parent f5c2f5b123
commit aba868b048
2 changed files with 15 additions and 26 deletions

View File

@@ -19,18 +19,10 @@ jobs:
image: ghcr.io/syui/aios
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build dependencies
run: pacman -Sy --noconfirm arch-install-scripts zsh docker
- name: Build aios
run: zsh ./build.zsh
- name: Push to local registry
- name: Pull and push to local registry
run: |
tar -C ./root.x86_64 -c . | docker import - ${{ env.IMAGE_NAME }}
docker tag ${{ env.IMAGE_NAME }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
pacman -Sy --noconfirm docker
docker pull ghcr.io/syui/aios
docker tag ghcr.io/syui/aios ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
echo "${{ env.APP_TOKEN }}" | docker login ${{ env.REGISTRY }} -u syui --password-stdin
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}