Skip to content

Commit 7e44db1

Browse files
authored
Update cmake-build.yml, login to Dockerhub added: #21
1 parent d449413 commit 7e44db1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/cmake-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ jobs:
121121
run:
122122
sudo cp -a ${{ github.workspace }}/docker/sdk-image/** ${{ steps.strings.outputs.build-output-dir }}/_packages/
123123

124+
- name: Login to Docker Hub
125+
uses: docker/login-action@v3
126+
with:
127+
username: ${{ vars.DOCKERHUB_LOGIN }}
128+
password: ${{ secrets.DOCKERHUB_TOKEN }}
129+
124130
- name: Create SDK Docker image
125131
if: matrix.c_compiler == 'gcc'
126132
uses: docker/build-push-action@v7

0 commit comments

Comments
 (0)