From 35d4eccdfd53053c5d06e7a3a75bd86286809ba5 Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Fri, 7 Nov 2025 21:19:38 +1030 Subject: [PATCH] Remove demo Correct the tags to align with Gitea Repo expected tags --- .gitea/workflows/ci.yaml | 6 +++--- .gitea/workflows/demo.yaml | 19 ------------------- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 .gitea/workflows/demo.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c7d9a0a..08e88b8 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -21,9 +21,9 @@ jobs: # do not push yet push: false tags: | - ${{ github.repository }}:${{ github.sha }} - ${{ github.repository }}:${{ github.ref_name }} - ${{ github.repository }}:latest + ${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }} + ${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }} + ${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:latest build-args: | # Add any build args here # ARG_NAME=VALUE \ No newline at end of file diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml deleted file mode 100644 index 394c807..0000000 --- a/.gitea/workflows/demo.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file