Move a bunch of files around, try to get things working
This commit is contained in:
36
.github/workflows/games.yml
vendored
Normal file
36
.github/workflows/games.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- tt_master
|
||||
paths:
|
||||
- tt_games/**
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "games:${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
game:
|
||||
- fivem
|
||||
- source
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./games
|
||||
file: ./games/${{ matrix.game }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/pterodactyl/games:${{ matrix.tag }}
|
37
.github/workflows/go.yml
vendored
Normal file
37
.github/workflows/go.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- tt_go/**
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:go_${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- 1.14
|
||||
- 1.15
|
||||
- 1.16
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./go
|
||||
file: ./go/${{ matrix.tag }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/pterodactyl/yolks:go_${{ matrix.tag }}
|
36
.github/workflows/installers.yml
vendored
Normal file
36
.github/workflows/installers.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- tt_master
|
||||
paths:
|
||||
- installers/**
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolk_installers:{{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- alpine
|
||||
- source
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./installers
|
||||
file: ./installers/${{ matrix.tag }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/pterodactyl/yolk_installers:${{ matrix.tag }}
|
3
.github/workflows/java.yml
vendored
3
.github/workflows/java.yml
vendored
@@ -3,10 +3,11 @@ on:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- java/*
|
||||
- tt_java/**
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:java_${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
38
.github/workflows/nodejs.yml
vendored
Normal file
38
.github/workflows/nodejs.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- tt_nodejs/*
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:nodejs_${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- 12
|
||||
- 14
|
||||
- 15
|
||||
- 16
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./nodejs
|
||||
file: ./nodejs/${{ matrix.tag }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/pterodactyl/yolks:nodejs_${{ matrix.tag }}
|
37
.github/workflows/python.yml
vendored
Normal file
37
.github/workflows/python.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- tt_python/**
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:python_${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- 3.7
|
||||
- 3.8
|
||||
- 3.9
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./python
|
||||
file: ./python/${{ matrix.tag }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/pterodactyl/yolks:python_${{ matrix.tag }}
|
67
.github/workflows/yolks.yml
vendored
Normal file
67
.github/workflows/yolks.yml
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- games
|
||||
- installers
|
||||
|
||||
jobs:
|
||||
changes:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
images: ${{ steps.filter.outputs.changes }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: dorny/paths-filter@v2
|
||||
id: filter
|
||||
with:
|
||||
base: HEAD
|
||||
filters: |
|
||||
alpine: alpine
|
||||
go_1.14: go/1.14
|
||||
go_1.15: go/1.15
|
||||
go_1.16: go/1.16
|
||||
python_3.7: python/3.7
|
||||
python_3.8: python/3.8
|
||||
python_3.9: python/3.9
|
||||
nodejs_12: nodejs/12
|
||||
nodejs_13: nodejs/13
|
||||
nodejs_14: nodejs/14
|
||||
nodejs_15: nodejs/15
|
||||
java_7: java/7
|
||||
java_8: java/8
|
||||
java_9: java/9
|
||||
java_11: java/11
|
||||
java_14: java/14
|
||||
java_16: java/16
|
||||
|
||||
push:
|
||||
needs: changes
|
||||
# name: "yolks:python_${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
image: ${{ fromJSON(needs.changes.outputs.images) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: |
|
||||
echo "${{ matrix.image }}"
|
||||
# - uses: docker/setup-buildx-action@v1
|
||||
# with:
|
||||
# version: "v0.5.1"
|
||||
# buildkitd-flags: --debug
|
||||
# - uses: docker/login-action@v1
|
||||
# with:
|
||||
# registry: ghcr.io
|
||||
# username: ${{ github.repository_owner }}
|
||||
# password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
# - uses: docker/build-push-action@v2
|
||||
# with:
|
||||
# context: ./python
|
||||
# file: ./python/${{ matrix.tag }}/Dockerfile
|
||||
# platforms: linux/amd64
|
||||
# push: true
|
||||
# tags: |
|
||||
# ghcr.io/pterodactyl/yolks:python_${{ matrix.tag }}
|
Reference in New Issue
Block a user