Skip to content

Update docker-image.yml #2

Update docker-image.yml

Update docker-image.yml #2

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "r1.8" ]
pull_request:
branches: [ "r1.8" ]
jobs:
build:
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