Skip to content

Release SDK d7896502 (#4575) #1791

Release SDK d7896502 (#4575)

Release SDK d7896502 (#4575) #1791

name: 'Build Stream Metadata Docker Image'
on:
push:
branches:
- main
paths:
- '.github/workflows/Stream_metadata_docker.yml'
- '.github/workflows/_build-docker-arch.yml'
- 'packages/**'
workflow_dispatch:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CD_WORKFLOW_WEBHOOK_URL }}
jobs:
build:
name: Build docker image
uses: ./.github/workflows/_build-docker-arch.yml
with:
architecture: amd64
platform: linux/amd64
runner: ubuntu-latest
ecr_registry_alias: h5v6m2x1
ecr_repository: river-stream-metadata
dockerfile: ./packages/stream-metadata/Dockerfile
cache_scope_prefix: stream-metadata
build_args: |
GIT_SHA=${{ github.sha }}
extra_tags: ${{ github.sha }}
secrets: inherit
# Slack notification on failure
notify-failure:
name: Notify on failure
if: failure()
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Slack notification
uses: slackapi/[email protected]
with:
payload: |
{
"step": "Build Stream Metadata Docker Image",
"environment": "N/A",
"branch": "${{ github.ref }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"actor": "${{ github.actor }}"
}