Merge pull request #575 from mlibrary/LIBSEARCH-1159-update-library-s… #2165
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Build Latest Commit | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: ${{github.actor != 'dependabot[bot]'}} | |
| 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 }}' |