mirror of
https://github.com/pterodactyl/development.git
synced 2026-04-20 08:38:45 -05:00
Update the local development environment (#22)
This commit is contained in:
25
.github/workflows/panel.yaml
vendored
25
.github/workflows/panel.yaml
vendored
@@ -1,28 +1,27 @@
|
||||
name: Panel
|
||||
|
||||
name: panel
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
- master
|
||||
permissions:
|
||||
packages: write
|
||||
jobs:
|
||||
build-and-push:
|
||||
name: Build and Push
|
||||
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
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and Push image
|
||||
uses: docker/build-push-action@v2
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
file: ./build/panel/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
context: build/panel
|
||||
tags: ghcr.io/pterodactyl/development/panel:latest
|
||||
|
||||
28
.github/workflows/wings.yaml
vendored
28
.github/workflows/wings.yaml
vendored
@@ -1,28 +1,26 @@
|
||||
name: Wings
|
||||
|
||||
name: wings
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
- master
|
||||
permissions:
|
||||
packages: write
|
||||
jobs:
|
||||
build-and-push:
|
||||
name: Build and Push
|
||||
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
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and Push image
|
||||
uses: docker/build-push-action@v2
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
file: ./build/wings/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
context: build/wings
|
||||
tags: ghcr.io/pterodactyl/development/wings:latest
|
||||
tags: ghcr.io/pterodactyl/development/wings:latest
|
||||
Reference in New Issue
Block a user