Skip to content

Merge pull request #42 from lsst-sqre/tickets/DM-42885 #12

Merge pull request #42 from lsst-sqre/tickets/DM-42885

Merge pull request #42 from lsst-sqre/tickets/DM-42885 #12

Workflow file for this run

name: CI
"on":
merge_group: {}
pull_request: {}
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
# (optional) only build on tags or ticket branches
if: >
startsWith(github.ref, 'refs/tags/')
|| startsWith(github.head_ref, 'tickets/')
steps:
- uses: actions/checkout@v3
- uses: lsst-sqre/build-and-push-to-ghcr@v1
id: build
with:
image: ${{ github.repository }} # e.g. lsst-sqre/safirdemo
github_token: ${{ secrets.GITHUB_TOKEN }}
- run: echo Pushed ghcr.io/${{ github.repository }}:${{ steps.build.outputs.tag }}