[node] Add StoreBlobs
endpoint for minibatch streaming
#1490
Workflow file for this run
This file contains 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-publish-internal | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
env: | |
# TODO: Push to AWS CR at a later stage | |
REGISTRY: ghcr.io | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Buildx | |
uses: docker/setup-buildx-action@v1 | |
with: | |
install: true | |
driver-opts: >- | |
image=moby/buildkit:master | |
- name: Cache main image layers | |
uses: actions/cache@v2 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-buildx- | |
# Login against a Docker registry except on PR | |
# https://github.com/docker/login-action | |
- name: Log into registry ${{ env.REGISTRY }} | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Build And Push Image | |
- name: Build Docker image | |
run: docker compose -f docker-compose-internal.yaml build | |
- name: Push Docker image | |
if: github.ref == 'refs/heads/master' | |
run: docker compose -f docker-compose-internal.yaml push | |
- name: Send GitHub Action trigger data to Slack workflow | |
if: ${{ failure() }} | |
id: slack | |
uses: slackapi/[email protected] | |
with: | |
payload: | | |
{ | |
"workflow": "${{ github.workflow }}", | |
"action_name": "${{ github.action }}", | |
"ref": "${{ github.ref_name }}", | |
"actor": "${{ github.triggering_actor }}", | |
"event_name": "${{ github.event_name }}", | |
"run_id": "https://github.com/Layr-Labs/eigenda/actions/runs/${{ github.run_id }}", | |
"commit_sha": "https://github.com/Layr-Labs/eigenda/commit/${{ github.sha }}" | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |