Skip to content

Commit

Permalink
Update Docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab authored Oct 7, 2023
1 parent 18946d6 commit 334edeb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Specialize Python
working-directory: docker
run: |
cat environment.yaml
sed -i.bak 's/- python=3.8/- python=${{ matrix.cfg.python-version }}/g' environment.yaml
cat environment.yaml
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Specialize Python
run: |
cd docker/
sed -i.bak 's/- python=3.8/- python=${{ matrix.cfg.python-version }}/g' environment.yaml
cat environment.yaml
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand Down

0 comments on commit 334edeb

Please sign in to comment.