Merge pull request #387 from pangenome/update_stuff #176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI for DockerHub | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Docker login | |
env: | |
DOCKER_USER: pangenome | |
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | |
run: | | |
docker login -u pangenome -p $DOCKER_PASSWORD | |
- name: Build and push the Docker image | |
run: tag=$(date +%s) && docker build . --file Dockerfile --tag pangenome/pggb && docker push pangenome/pggb |