Skip to content

Commit

Permalink
docker image for linux and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JunjieLl committed Oct 27, 2024
1 parent 8f399d5 commit 7727ec0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches:
- dev-jjl
# tags:
# - 'v*.*'
tags:
- 'v*.*'

jobs:
build:
Expand All @@ -16,14 +16,17 @@ jobs:
with:
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Checkout
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
platforms: linux/amd64,windows/amd64
push: true
context: ./environment
tags: ${{ vars.DOCKER_USERNAME }}/vec2wav2.0:${{ github.ref_name }}
3 changes: 0 additions & 3 deletions environment/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# torch==1.13.1+cu116 -i https://download.pytorch.org/whl/cu116
# torchvision==0.14.1+cu116 -i https://download.pytorch.org/whl/cu116
# torchaudio==0.13.1 -i https://download.pytorch.org/whl/cu116
auraloss==0.4.0
cython==3.0.10
einops
Expand Down

0 comments on commit 7727ec0

Please sign in to comment.