Skip to content

Commit

Permalink
Add docker login before running SBT
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Mar 5, 2025
1 parent 121d707 commit 03d0ed3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci-delta-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ jobs:
sudo echo "127.0.0.1 other.my-domain.com" | sudo tee -a /etc/hosts
sudo echo "127.0.0.1 bucket.my-domain.com" | sudo tee -a /etc/hosts
sudo echo "127.0.0.1 bucket2.my-domain.com" | sudo tee -a /etc/hosts
sudo echo "127.0.0.1 bucket3.my-domain.com" | sudo tee -a /etc/hosts
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Run unit tests
run: |
echo ${{ secrets.DOCKER_PASS }} | docker login --username ${{ secrets.DOCKER_USER }} --password-stdin
sbt -Dsbt.color=always -Dsbt.supershell=false clean plugins-unit-tests-with-coverage

0 comments on commit 03d0ed3

Please sign in to comment.