Skip to content

Build docker image with backup tools #8

Build docker image with backup tools

Build docker image with backup tools #8

Workflow file for this run

name: CI
"on":
merge_group: {}
pull_request: {}
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
# Only do Docker builds of tagged releases and pull requests from ticket
# branches.
if: >
startsWith(github.ref, 'refs/tags/')
|| startsWith(github.head_ref, 'tickets/')
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: lsst-sqre/build-and-push-to-ghcr@v1
id: build
with:
image: ${{ github.repository }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- run: echo Pushed ghcr.io/${{ github.repository }}:${{ steps.build.outputs.tag }}