Skip to content

Merge pull request #71 from mlibrary/tidy-2024-03 #49

Merge pull request #71 from mlibrary/tidy-2024-03

Merge pull request #71 from mlibrary/tidy-2024-03 #49

Workflow file for this run

name: Build latest catalog-solr-unstable and catalog-indexer-unstable on push to main
on:
push:
branches: [ main ]
jobs:
build-catalog-solr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Log into Github Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push catalog-solr
env:
IMAGE_NAME: catalog-solr-unstable
uses: docker/build-push-action@v2
with:
context: biblio/.
push: true
tags: |
ghcr.io/mlibrary/${{ env.IMAGE_NAME }}:latest
ghcr.io/mlibrary/${{ env.IMAGE_NAME }}:${{ github.sha }}
build-catalog-indexer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Log into Github Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push catalog-indexer
env:
IMAGE_NAME: catalog-indexer-unstable
uses: docker/build-push-action@v2
with:
context: umich_catalog_indexing/.
file: umich_catalog_indexing/Dockerfile
push: true
secrets: |
"gh_package_read_token=${{ secrets.GH_PACKAGE_READ_TOKEN }}"
tags: |
ghcr.io/mlibrary/${{ env.IMAGE_NAME }}:latest
ghcr.io/mlibrary/${{ env.IMAGE_NAME }}:${{ github.sha }}