Skip to content

chenwei791129/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

.github

Reusable Workflow Example

Build and push to ghcr.io registry

Create .github/workflows/build-and-push-image.yml file:

name: Build and push image

on:
  workflow_dispatch:

jobs:
  build-and-push-image:
    permissions:
      contents: read
      packages: write
    uses: chenwei791129/.github/.github/workflows/build-and-push-image.yml@main

include Docker Hub registry

name: Build and push image

on:
  workflow_dispatch:

jobs:
  build-and-push-image:
    permissions:
      contents: read
      packages: write
    uses: chenwei791129/.github/.github/workflows/build-and-push-image.yml@main
    with:
      dockerhub-username: your-dockerhub-username
    additional-tags: |
      type=raw,value=custom-tag
      type=raw,value=custom-tag2

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published