Merge pull request #2 from uclahs-cds/mmootor-standardize-repo #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 }} |