Files
pyrodactyl/.github/workflows/dev-build.yaml
2026-02-11 07:34:57 +00:00

44 lines
988 B
YAML

name: Docker Build
on:
push:
branches:
- main
permissions:
packages: write
contents: read
jobs:
build-dev:
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
- name: Build and push canary image
uses: useblacksmith/build-push-action@v2
with:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}:canary
ghcr.io/${{ github.repository }}:canary-${{ github.sha }}
platforms: linux/amd64,linux/arm64