Skip to content

Commit ac122b6

Browse files
committed
fix(ci): use GitHub Actions vars syntax for DockerHub username in workflow
1 parent 3345651 commit ac122b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-and-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: docker/login-action@v2
4040
with:
4141
registry: docker.io
42-
username: $DOCKERHUB_USERNAME
42+
username: ${{ vars.DOCKERHUB_USERNAME }}
4343
password: ${{ secrets.DOCKERHUB_TOKEN }}
4444

4545
- name: Set Docker image tags and build args

0 commit comments

Comments
 (0)