Skip to content

Commit 121d707

Browse files
author
Simon Dumas
committed
Use docker login action
1 parent 9477a10 commit 121d707

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci-delta-plugins.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ jobs:
3838
sudo echo "127.0.0.1 bucket.my-domain.com" | sudo tee -a /etc/hosts
3939
sudo echo "127.0.0.1 bucket2.my-domain.com" | sudo tee -a /etc/hosts
4040
sudo echo "127.0.0.1 bucket3.my-domain.com" | sudo tee -a /etc/hosts
41-
- name: Unit tests
41+
- name: Login to Docker Hub
42+
uses: docker/login-action@v3
43+
with:
44+
username: ${{ secrets.DOCKER_USER }}
45+
password: ${{ secrets.DOCKER_PASS }}
46+
- name: Run unit tests
4247
run: |
43-
echo ${{ secrets.DOCKER_PASS }} | docker login --username ${{ secrets.DOCKER_USER }} --password-stdin
44-
sbt -Dsbt.color=always -Dsbt.supershell=false \
45-
clean \
46-
plugins-unit-tests-with-coverage
48+
sbt -Dsbt.color=always -Dsbt.supershell=false clean plugins-unit-tests-with-coverage

0 commit comments

Comments
 (0)