Skip to content

Publishing docker image to dockerhub using github actions

Notifications You must be signed in to change notification settings

samarpanda/dockerhub-image-publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Publish image to dockerhub

This repository contains docker images for various services & applications. Each folder is configured as an docker image. To know more check details of Dockerfile in each folder. Automated publishing to dockerhub using github actions.

Directory Structure

Dockerhub repositories

Usage

To use the docker images in this repository, go to README.md file of the corresponding directory. Entire details has been shared in it.

cd alpine-demo/

Quick commands

  1. Docker build docker build -t <DOCKER_IMAGE_NAME> -f Dockerfile .
  2. Docker run & on stop / exit remove container docker run --rm --name <DOCKER_CONTAINER_NAME> <DOCKER_IMAGE_NAME>
  3. Docker stop container & remove image docker stop <CONTAINER_NAME>; docker rm -f <CONTAINER_NAME>; docker image rm -f <DOCKER_IMAGE_NAME>;

Publish docker image to dockerhub

Github actions used to publish docker image to dockerhub

Where to file issues?

https://github.com/samarpanda/dockerhub-image-publish/issues

About

Publishing docker image to dockerhub using github actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published