Skip to content

Merge pull request #510 from mlibrary/academic-discipline-hierarchy-l… #1888

Merge pull request #510 from mlibrary/academic-discipline-hierarchy-l…

Merge pull request #510 from mlibrary/academic-discipline-hierarchy-l… #1888

name: Docker Build Latest Commit
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build container image and push to DockerHub
id: docker_build
uses: docker/build-push-action@v6
with:
push: true
tags: 'bertrama/search-unstable:${{ github.sha }},bertrama/search-unstable:latest'
file: Dockerfile
- name: Image digest
run: |
echo '${{ steps.docker_build.outputs.digest }}'