Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 764 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 764 Bytes

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