diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 00f8f76c..dc26f321 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -25,7 +25,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v1 with: - registry: ${{REGISTRY}} + registry: ${{env.REGISTRY}} username: ${{secrets.HARBOR_USERNAME}} password: ${{secrets.HARBOR_SECRET}} @@ -34,7 +34,7 @@ jobs: uses: docker/build-push-action@v2 with: push: true - registry: ${{REGISTRY}} + registry: ${{env.REGISTRY}} username: ${{secrets.HARBOR_USERNAME}} password: ${{secrets.HARBOR_SECRET}} tags: |