Skip to content

Merge pull request #501 from mlibrary/dependabot/npm_and_yarn/group-a… #1809

Merge pull request #501 from mlibrary/dependabot/npm_and_yarn/group-a…

Merge pull request #501 from mlibrary/dependabot/npm_and_yarn/group-a… #1809

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 }}'