Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Golden-proteogenomics authored Dec 24, 2024
1 parent 10b4097 commit ca96521
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,21 @@ jobs:

runs-on: ubuntu-latest



steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

# 登录到 Docker Hub
- name: Log in to Docker Hub
uses: docker/#-action@v2
with:
username: ${{ secrets.Golden-proteogenomics }}
password: ${{ secrets.dckr_pat_zrXrUvGLL5LwvgzvJ0ucsfqBHG8 }}


# 推送 Docker 镜像到 Docker Hub
- name: Push Docker image
run: docker push ${{ secrets.Golden-proteogenomics }}/deepvariant:latest

0 comments on commit ca96521

Please # to comment.