Skip to content
---
on:
push:
branches: ['main']
tags: ['v*']
release:
types: [published]
jobs:
build-and-push-image:
runs-on: ubuntu-latest
name: A job to build and push a docker image
permissions:
contents: read
packages: write
steps:
- id: build-push
uses: uclahs-cds/tool-Docker-action/build-release@latest
with:
github-token: ${{ secrets.GITHUB_TOKEN }}