Thanks to visit codestin.com
Credit goes to github.com

Skip to content

btmc/github-action-docker-build

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

github-action-docker-build

An extremely simple docker image auto build for your repository, made in order to replace in open source Docker Hub build integration, which has gone to the payed tier.

The resulting image is stored in ghcr.io, which is free for open source projects.

dockerfile should exist in project root.

Also links a built image back to the repository via adding the according LABEL instruction to the dockerfile in a process of a build.

Usage example (include it in a workflow file, e.g. .github/workflows/build.yml):

on:
  push:
    branches:
      - main
    tags:
      - '*'

jobs:
  build:
    runs-on: ubuntu-20.04

    steps:
    - uses: btmc/github-action-docker-build@v1

Generates an image on any commit to the main branch or tagged with any tag.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published