Skip to content

Commit c42cbdb

Browse files
authored
Merge pull request #379 from formidablejs/feature/actions-docker-login
feat: login to docker
2 parents a88234d + 1482e45 commit c42cbdb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/0-core-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
with:
1818
node-version: ${{ matrix.node-version }}
1919
cache: 'npm'
20+
- name: Log in to Docker Hub
21+
uses: docker/login-action@v3
22+
with:
23+
username: ${{ secrets.DOCKERHUB_USERNAME }}
24+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2025
- name: Start Redis
2126
uses: supercharge/[email protected]
2227
- name: Install modules

.github/workflows/automated.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v3
14+
- name: Log in to Docker Hub
15+
uses: docker/login-action@v3
16+
with:
17+
username: ${{ secrets.DOCKERHUB_USERNAME }}
18+
password: ${{ secrets.DOCKERHUB_TOKEN }}
1419
- name: Start Redis
1520
uses: supercharge/[email protected]
1621
- name: Use Node.js 22

0 commit comments

Comments
 (0)