File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Push Docker Image
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ env :
10+ DOCKER_IMAGE : icrsc/nextflow-app
11+
12+ jobs :
13+ docker :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v3
18+
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v3
21+
22+ - name : Login to Docker Hub
23+ uses : docker/login-action@v3
24+ with :
25+ username : ${{ secrets.DOCKERHUB_USERNAME }}
26+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27+
28+ - name : Build and push
29+ uses : docker/build-push-action@v5
30+ with :
31+ context : .
32+ push : true
33+ tags : |
34+ ${{ env.DOCKER_IMAGE }}:latest
35+ ${{ env.DOCKER_IMAGE }}:${{ github.sha }}
36+
37+ - name : Image digest
38+ run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change 11pandas == 2.2.3
22paramiko == 3.5.0
33streamlit == 1.39.0
4+ pre-commit == 4.0.1
You can’t perform that action at this time.
0 commit comments