Skip to content

Commit 541b340

Browse files
committed
Use token instead of password
1 parent b6cd698 commit 541b340

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-containers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
3636
with:
3737
username: flowforge
38-
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
38+
password: ${{ secrets.FLOWFORGE_DOCKER_HUB_TOKEN }}
3939

4040
- name: List Docker Hub repositories
4141
run: |
4242
curl -s -H "Authorization: JWT $(curl -s -X POST \
4343
-H "Content-Type: application/json" \
44-
-d '{"username": "flowforge", "password": "${{ secrets.DOCKER_HUB_PASSWORD }}"}' \
44+
-d '{"username": "flowforge", "password": "${{ secrets.FLOWFORGE_DOCKER_HUB_TOKEN }}"}' \
4545
https://hub.docker.com/v2/users/login/ | jq -r .token)" \
4646
"https://hub.docker.com/v2/repositories/flowforge/?page_size=100" | jq -r '.results[].name'
4747
@@ -59,7 +59,7 @@ jobs:
5959
with:
6060
repository: flowforge/forge-docker
6161
username: flowforge
62-
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
62+
password: ${{ secrets.FLOWFORGE_DOCKER_HUB_TOKEN }}
6363
readme-filepath: docker-compose/README.md
6464
- name: Push README flowfuse
6565
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0

0 commit comments

Comments
 (0)