TwitCasting Recording APIのREADMEを追加し、セットアップ手順、環境変数、エンドポイント、録画出力、実行方法を… #2
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: rec-twitcasting api docker push | |
on: | |
push: | |
branches: | |
- develop | |
paths: | |
- 'api/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: create meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ghcr.io/${{ github.actor }}/api-rec-twitcasting | |
tags: | | |
type=raw,value=latest | |
type=sha,prefix=,suffix=,format=short | |
- name: Build container image | |
uses: docker/build-push-action@v5 | |
with: | |
file: ./api/Dockerfile | |
push: false | |
platforms: linux/amd64,linux/arm64 |