feat: direct biz inquiries to recall info email #14
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: Build Docker Image | |
| on: | |
| push: | |
| branches: | |
| - mnemonic | |
| jobs: | |
| build-and-publish: | |
| if: ${{ github.repository_owner == 'recallnet' }} | |
| name: Build and publish docker image | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
| - name: Build Image | |
| run: | | |
| set -eux | |
| hash=$(git rev-parse --short=7 HEAD) | |
| image_base=textile/discord-agent | |
| image=$image_base:sha-$hash | |
| image_latest=$image_base:latest | |
| docker build -t $image . | |
| docker tag $image $image_latest | |
| docker push $image | |
| docker push $image_latest |