Skip to content

github action to creat a docker image and push it to a registry

Notifications You must be signed in to change notification settings

PaxSchweiz/action_createimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Push image to registry action

This action pushes an image to the registry. See action metadata

Example usages

uses: PaxSchweiz/[email protected]
with:
  gitrepo: 'myrepo'
  registryname: 'docker.pkg.github.com'
  registryuser: ${{ github.actor }}
  registrytoken: ${{ secrets.GITHUB_TOKEN }}
  gitref: ${{ github.ref }}
  imagename: 'usually_same_as_repo_name'
uses: PaxSchweiz/[email protected]
with:
  gitrepo: 'myrepo'
  registryname: 'docker.pkg.github.com'
  registryuser: ${{ github.actor }}
  registrytoken: ${{ secrets.GITHUB_TOKEN }}
  gitref: ${{ github.ref }}
  imagename: 'usually_same_as_repo_name'
  dockerfile: ./docker/one_of_many_images/Dockerfile
  buildcontext: ./docker/one_of_many_images/
  buildarg: ARG_SPECIFIED_IN_DOCKERFILE=some_value