style: Fix width of components in notification-group #269
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: Push our docker image | |
on: | |
push: | |
branches: | |
- hota/** | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build-image: | |
name: Build docker image for mastodon | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ${{ secrets.REGISTRY_SERVER }}/${{ secrets.REGISTRY_REPO }} | |
tags: | | |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} | |
type=ref,event=branch | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- | |
name: Login to Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ secrets.REGISTRY_SERVER }} | |
username: ${{ secrets.REGISTRY_USERNAME }} | |
password: ${{ secrets.REGISTRY_TOKEN }} | |
- | |
name: Checkout akane-blue/mastodon | |
uses: actions/checkout@v4 | |
with: | |
repository: akane-blue/mastodon | |
path: mastodon | |
- | |
name: Build mastodon image | |
uses: docker/build-push-action@v5 | |
with: | |
context: mastodon | |
file: mastodon/Dockerfile | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
build-streaming: | |
name: Build docker image for streaming | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ${{ secrets.REGISTRY_SERVER }}/${{ secrets.REGISTRY_REPO_STREAMING }} | |
tags: | | |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} | |
type=ref,event=branch | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- | |
name: Login to Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ secrets.REGISTRY_SERVER }} | |
username: ${{ secrets.REGISTRY_USERNAME }} | |
password: ${{ secrets.REGISTRY_TOKEN }} | |
- | |
name: Checkout akane-blue/mastodon | |
uses: actions/checkout@v4 | |
with: | |
repository: akane-blue/mastodon | |
path: mastodon | |
- | |
name: Build streaming image | |
uses: docker/build-push-action@v5 | |
with: | |
context: mastodon | |
file: mastodon/streaming/Dockerfile | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |