change some env to vars

This commit is contained in:
Salam-vsem
2025-05-19 15:22:27 +03:00
parent d0ca308b19
commit 44b5930bb2

View File

@@ -22,7 +22,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ github.event.repository.name }}
images: ${{ vars.DOCKER_REGISTRY }}/${{ github.event.repository.name }}
tags: |
type=semver,pattern={{version}}
type=sha
@@ -33,7 +33,7 @@ jobs:
- name: Log in to Docker registry
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKER_REGISTRY }}
registry: ${{ vars.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -60,6 +60,6 @@ jobs:
-H 'Content-Type: application/json' \
-d '{
"json":{
"applicationId": "${{ env.DOKPLOY_APPLICATION_ID }}"
"applicationId": "${{ vars.DOKPLOY_APPLICATION_ID }}"
}
}'