fix gh-actions

This commit is contained in:
syui 2025-02-24 17:15:06 +09:00
parent 15a6af27ce
commit ad23cc929b
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 4 additions and 7 deletions

View File

@ -2,7 +2,7 @@ name: build and push image
on:
schedule:
- cron: '0 12 * * *'
- cron: '0 0 * * *'
push:
branches:
- main
@ -21,14 +21,14 @@ jobs:
name: Release
runs-on: ubuntu-latest
container:
image: syui/aios
image: ghcr.io/syui/aios
options: --privileged
steps:
- name: Initialize
run: |
pacman -Syuu --noconfirm base-devel archiso docker git curl
docker pull syui/aios
docker tag syui/aios ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
docker pull ghcr.io/syui/aios
docker tag 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 }}

View File

@ -1,9 +1,6 @@
name: release
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'