Skip to content

Publish to ghcr

Actions
Publish to ghcr
v1.0.4
Latest
Star (0)

Tags

 (1)

About

GitHub Action to build and push a Docker image to the GitHub Container Registry without fuss.

The repository must contain a Dockerfile which will then be build and published as a package to the repository.

Example usage

name: Docker Build

on:
  push:
    branches:
    - master

permissions:
  contents: read
  packages: write

jobs:
  docker-build:
    runs-on: ubuntu-latest
    if: github.repository_owner == 'e621ng' # Prevent builds starting in forks

    steps:
      - name: Publish to ghcr
        uses: e621ng/publish-to-ghcr@v1

There are no configuration parameters.

Publish to ghcr is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publish to ghcr
v1.0.4
Latest

Tags

 (1)

Publish to ghcr is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.