Skip to content

ambimax/action-docker-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Publishes a given docker image

Action to push a built docker image to a docker registry

Usage

Example Pipeline

name: Example Job
on: [push]
jobs:
  - name: build image
    run: docker build -t example-name:image-tag-to-use .

  - name: Publish to Registry
    uses: ambimax/action-docker-push@v1
    with:
      name: example-name
      username: ${{ secrets.DOCKER_USERNAME_AMBIMAX }}
      password: ${{ secrets.DOCKER_PASSWORD_AMBIMAX }}
      registry: ${{ secrets.DOCKER_REGISTRY_AMBIMAX }}
      id: image-tag-to-use

Input arguments

Name Description required
name The name of the image you would like to push true
username The login username for the registry true
password The login password for the registry true
registry Use registry for pushing to a custom registry true
id The id to tag the given image with false

Author Information

Konstantin Bode, ambimax® GmbH Dominik Wißler, ambimax® GmbH

About

:octocat: Action to push a built docker image to a docker registry

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •