mirror of
https://github.com/pterodactyl/development.git
synced 2026-04-12 05:22:13 -05:00
34 lines
892 B
YAML
34 lines
892 B
YAML
name: Build and publish docker images
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
images:
|
|
name: Build and push base image
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: docker/setup-qemu-action@v1
|
|
- uses: docker/setup-buildx-action@v1
|
|
- uses: docker/login-action@v1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
|
|
- name: build Panel image
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
file: build/panel/Dockerfile
|
|
push: true
|
|
tags: ghcr.io/pterodactyl/development/panel:latest
|
|
|
|
- name: build Wings image
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
file: build/wings/Dockerfile
|
|
push: true
|
|
tags: ghcr.io/pterodactyl/development/wings:latest
|