Skip to content

Commit

Permalink
Tests: add Docker Login
Browse files Browse the repository at this point in the history
  • Loading branch information
svenseeberg committed Jan 26, 2024
1 parent 7a43363 commit 59e0851
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ jobs:
uses: supercharge/[email protected]
- name: Install dependencies
run: pip install -e .[dev]
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build custom container with OWSLib
uses: docker/build-push-action@v5
with:
context: opendrift
file: ./Dockerfile
file: opendrift/Dockerfile
push: false
tags: opendrift-owslib:latest
- name: Run tests
Expand Down

0 comments on commit 59e0851

Please sign in to comment.