An open API service indexing awesome lists of open source software.

https://github.com/nofusscomputing/action_docker

GH Action/Workflow for Docker Builds.
https://github.com/nofusscomputing/action_docker

Last synced: about 2 months ago
JSON representation

GH Action/Workflow for Docker Builds.

Awesome Lists containing this project

README

          

# No Fuss Computing - GH Action / Workflow for docker

using the workflow requires a file be created at path `.github/workflow/docker.yaml`

``` yaml

---

name: 'CI'

on:
push:
branches:
- '**'
tags:
- '*'

jobs:

docker:
if:
(${{
github.event.push
||
github.ref_type == 'tag'
}})
name: 'Docker'

uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@development
with:
DOCKER_BUILD_IMAGE_NAME: "${{ github.repository }}"
DOCKER_PUBLISH_REGISTRY: "ghcr.io"
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/image-publish"
secrets:
DOCKER_PUBLISH_USERNAME: ${{ github.actor }}
DOCKER_PUBLISH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

```