Skip to content

Commit 0804e9c

Browse files
committed
Use vars instead of secrets where possible
1 parent 045c9c1 commit 0804e9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
- name: Login to Azure Container Registry
3131
uses: docker/login-action@v3
3232
with:
33-
registry: ${{ secrets.DOCKER_REGISTRY }}
34-
username: ${{ secrets.DOCKER_USER }}
33+
registry: ${{ vars.DOCKER_REGISTRY }}
34+
username: ${{ vars.DOCKER_USER }}
3535
password: ${{ secrets.DOCKER_PASSWORD }}
3636
- name: Yarn install
3737
run: yarn
3838
- name: Yarn start
3939
run: 'yarn start "${{ matrix.php }}" "linux/amd64,linux/arm64"'
4040
env:
4141
INPUT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
DOCKER _REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
42+
DOCKER_REGISTRY: ${{ vars.DOCKER_REGISTRY }}

0 commit comments

Comments
 (0)