Skip to content

Github action to build and release a docker image

License

Notifications You must be signed in to change notification settings

fylein/docker-release-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Build and Push

Build docker images using Dockerfile in your repository and Push them to Docker Hub

Setup

This GitHub Action requires a bunch of environment variables, check the env section below.

# .github/workflows/deploy.yml 
name: Build Code

on:
  push:
    branches:
      - master

jobs:
  assign:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - name: push to dockerhub
      uses: fylein/docker-release-action@master
      env:
        DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
        DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
        IMAGE_NAME: ${{ secrets.IMAGE_NAME }}

About

Github action to build and release a docker image

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages