fix env to vars

This commit is contained in:
2026-03-14 20:13:50 +08:00
parent 914c54b1e9
commit 888b8603d1

View File

@@ -23,7 +23,7 @@ jobs:
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: ${{ vars.REGISTRY }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
@@ -34,4 +34,4 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
tags: ${{ vars.REGISTRY }}/${{ vars.IMAGE_NAME }}:latest