Skip to content

refactor: the big one™ (pass all lists down the component tree) #54

refactor: the big one™ (pass all lists down the component tree)

refactor: the big one™ (pass all lists down the component tree) #54

Workflow file for this run

name: Build and Push Docker Container
on:
push:
branches: main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
if: github.repository == 'PluralKit/dashboard'
steps:
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
build-args: |
"base_api_url=https://api.beta.pluralkit.me"
tags: |
ghcr.io/pluralkit/dashboard-v2:${{ env.BRANCH_NAME }}
ghcr.io/pluralkit/dashboard-v2:${{ github.sha }}
ghcr.io/pluralkit/dashboard-v2:latest