Skip to content

Create a docker-image-dockehub.yml #1

Create a docker-image-dockehub.yml

Create a docker-image-dockehub.yml #1

name: Create and publish a Docker image to hub.docker.com
on:
push:
branches:
- main
jobs:
build:
if: github.repository == 'lfdelzam/Gene_catalog_Rshiny'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: lfdelzam/Gene_catalog_Rshiny
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
dockerfile: Dockerfile
tags: "latest"