Skip to content

Update docker-build.yml #5

Update docker-build.yml

Update docker-build.yml #5

Workflow file for this run

name: build docker image
on:
push:
# branches:
# - master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: build and push image
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: image-name
registry: ghcr.io
githubOrg: override-org # optional
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}