Skip to content

DM-46747 refactor pqserver per SQR-072 #428

DM-46747 refactor pqserver per SQR-072

DM-46747 refactor pqserver per SQR-072 #428

Workflow file for this run

name: CI build of all containers
on:
push:
branches:
- main
tags:
- "*"
pull_request:
jobs:
push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract Git Tag or Branch
id: git_info
run: |
if [[ "${{ github.ref_type }}" == "tag" ]]; then
echo "GIT_TAG=${{ github.ref_name }}" >> $GITHUB_TAG
else
echo "GIT_TAG=noversion" >> $GITHUB_TAG
fi
- name: Build hinfo
uses: lsst-sqre/build-and-push-to-ghcr@v1
with:
image: ${{ github.repository }}-hinfo
github_token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: Dockerfile.hinfo
- name: Build pqserver
uses: lsst-sqre/build-and-push-to-ghcr@v1
with:
image: ${{ github.repository }}-pq
github_token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: Dockerfile.pqserver
build-args: |
GITHUB_TAG=${{ env.GITHUB_TAG }}