Skip to content

Commit

Permalink
Update conda-docker-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tkchafin authored Feb 7, 2024
1 parent 29f7d8e commit 07a85f8
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/conda-docker-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build Conda Package
shell: bash -l {0}
run: |
conda install conda-build anaconda-client conda-verify
conda install conda-build anaconda-client
conda build conda-recipe --output-folder ./build -c ecoevoinfo -c conda-forge -c bioconda
- name: Upload Conda Package to Anaconda Cloud
Expand All @@ -53,21 +53,20 @@ jobs:
needs: build-and-upload-conda
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Check Out Repo
uses: actions/checkout@v2

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
push: true
tags: tkchafin/autostreamtree:latest,tkchafin/autostreamtree:${{ env.VERSION }}

- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
push: true
tags: |
tkchafin/autostreamtree:latest
tkchafin/autostreamtree:${{ env.VERSION }} # Use stripped version

0 comments on commit 07a85f8

Please sign in to comment.