File tree Expand file tree Collapse file tree 3 files changed +34
-13
lines changed
Expand file tree Collapse file tree 3 files changed +34
-13
lines changed Original file line number Diff line number Diff line change 1- name : Build and publish docker images
1+ name : Panel
2+
23on :
34 push :
45 branches :
56 - ' master'
67
78jobs :
8- images :
9- name : Build and push base image
9+ build-and-push :
10+ name : Build and Push
1011 runs-on : ubuntu-latest
1112 steps :
1213 - uses : actions/checkout@v2
@@ -18,18 +19,10 @@ jobs:
1819 username : ${{ github.repository_owner }}
1920 password : ${{ secrets.REGISTRY_TOKEN }}
2021
21- - name : build Panel image
22+ - name : Build and Push image
2223 uses : docker/build-push-action@v2
2324 with :
2425 push : true
2526 platforms : linux/amd64,linux/arm64
2627 context : build/panel
2728 tags : ghcr.io/pterodactyl/development/panel:latest
28-
29- - name : build Wings image
30- uses : docker/build-push-action@v2
31- with :
32- push : true
33- platforms : linux/amd64,linux/arm64
34- context : build/wings
35- tags : ghcr.io/pterodactyl/development/wings:latest
Original file line number Diff line number Diff line change 1+ name : Wings
2+
3+ on :
4+ push :
5+ branches :
6+ - ' master'
7+
8+ jobs :
9+ build-and-push :
10+ name : Build and Push
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : docker/setup-qemu-action@v1
15+ - uses : docker/setup-buildx-action@v1
16+ - uses : docker/login-action@v1
17+ with :
18+ registry : ghcr.io
19+ username : ${{ github.repository_owner }}
20+ password : ${{ secrets.REGISTRY_TOKEN }}
21+
22+ - name : Build and Push image
23+ uses : docker/build-push-action@v2
24+ with :
25+ push : true
26+ platforms : linux/amd64,linux/arm64
27+ context : build/wings
28+ tags : ghcr.io/pterodactyl/development/wings:latest
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ RUN apt -y update \
3131 && tar xvf "go1.18.7.linux-$(dpkg --print-architecture).tar.gz" -C /usr/local \
3232 && chown -R root:root /usr/local/go \
3333 && rm -rf go*.gz \
34- && /usr/local/go/bin/go get github.com/go-delve/delve/cmd/dlv \
34+ && /usr/local/go/bin/go install github.com/go-delve/delve/cmd/dlv@latest \
3535 && usermod -aG docker root \
3636 && echo "export PATH=\$ PATH:/usr/local/go/bin" >> /etc/bash.bashrc
3737
You can’t perform that action at this time.
0 commit comments