Skip to content

Composite action to build and push a Docker image to a registry.

License

Notifications You must be signed in to change notification settings

dioptra-io/publish-docker-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

publish-docker-action

Tests

Composite action to build and push a Docker image to a registry.

Usage

name: Docker
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: dioptra-io/publish-docker-action@v2
        with:
          password: ${{ secrets.GITHUB_TOKEN }}

Inputs

Name Default
context .
image ${{ github.repository }}
registry ghcr.io
username ${{ github.actor }}
password None
platforms linux/amd64
push true

About

Composite action to build and push a Docker image to a registry.

Resources

License

Stars

Watchers

Forks

Packages