From 22bcc9f6e1df7fc9a5bff5fc0b05ce611f283553 Mon Sep 17 00:00:00 2001 From: syui Date: Tue, 5 Mar 2024 12:42:20 +0900 Subject: [PATCH] fix --- .gitea/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d41f645..03e77af 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -2,8 +2,8 @@ name: Build and Push Image on: [ push ] env: - USERNAME: ai TAG: latest + IMAGE_ID: aios IMAGE_NAME: ${{ gitea.repository }} APP_TOKEN: ${{ secrets.APP_TOKEN }} REGISTRY: localhost:8088 @@ -20,6 +20,6 @@ jobs: run: | pacman -Syuu --noconfirm base-devel archiso docker git docker pull syui/aios - docker tag syui/aios ${{ env.REGISTRY }}/${{ env.USERNAME }}/${{ env.IMAGE_NAME }}:latest + 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.USERNAME }}/${{ env.IMAGE_NAME }}:latest + docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}