Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e071f2eb2 | ||
|
|
a104ce0722 | ||
|
|
e75fd3a743 | ||
|
|
cfbee45c9a |
@@ -1,6 +1,8 @@
|
||||
name: Build all sequentially to test builds
|
||||
name: Docker
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 4 * * *" # everyday at 4 am
|
||||
push:
|
||||
branches:
|
||||
- '*' # matches every branch that doesn't contain a '/'
|
||||
@@ -15,114 +17,23 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
base:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Build and export
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: base
|
||||
tags: marcpartensky/arch:base
|
||||
outputs: type=docker,dest=/tmp/base.tar
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: base
|
||||
path: /tmp/base.tar
|
||||
|
||||
xorg:
|
||||
needs: base
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: base
|
||||
path: /tmp
|
||||
|
||||
- name: Load image
|
||||
run: |
|
||||
docker load --input /tmp/base.tar
|
||||
docker image ls -a
|
||||
|
||||
- name: Build and export
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: xorg
|
||||
tags: marcpartensky/arch:xorg
|
||||
outputs: type=docker,dest=/tmp/xorg.tar
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: xorg
|
||||
path: /tmp/xorg.tar
|
||||
|
||||
vnc:
|
||||
needs: xorg
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: xorg
|
||||
path: /tmp
|
||||
|
||||
- name: Load image
|
||||
run: |
|
||||
docker load --input /tmp/xorg.tar
|
||||
docker image ls -a
|
||||
|
||||
- name: Build and export
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: vnc
|
||||
tags: marcpartensky/arch:vnc
|
||||
outputs: type=docker,dest=/tmp/vnc.tar
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: vnc
|
||||
path: /tmp/vnc.tar
|
||||
|
||||
parabola:
|
||||
needs: xorg
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: xorg
|
||||
path: /tmp
|
||||
|
||||
- name: Load image
|
||||
run: |
|
||||
docker load --input /tmp/xorg.tar
|
||||
docker image ls -a
|
||||
|
||||
- name: Build and export
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: parabola
|
||||
tags: marcpartensky/arch:parabola
|
||||
outputs: type=docker,dest=/tmp/parabola.tar
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: parabola
|
||||
path: /tmp/parabola.tar
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update apt
|
||||
run: sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
|
||||
- name: Install make
|
||||
run: sudo apt install make docker-compose -y
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: build base
|
||||
run: make buildbase
|
||||
- name: build xorg
|
||||
run: make buildxorg
|
||||
- name: build vnc
|
||||
run: make buildvnc
|
||||
- name: build parabola
|
||||
run: make buildparabola
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Build all then push
|
||||
name: Docker
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ RUN paru -Syyyu --noconfirm \
|
||||
# xorg-server-utils \
|
||||
xorg-server-xvfb \
|
||||
# xf86-video-dummy \
|
||||
x11vnc \
|
||||
tigervnc \
|
||||
novnc \
|
||||
cron \
|
||||
ttf-meslo-nerd-font-powerlevel10k
|
||||
|
||||
+2
-14
@@ -10,30 +10,18 @@ file=/tmp/supervisord.sock
|
||||
[supervisorctl]
|
||||
serverurl=unix:///tmp/supervisord.sock
|
||||
|
||||
[program:xvfb]
|
||||
command=Xvfb :0 -screen 0 1820x980x8
|
||||
[program:xvnc]
|
||||
command=Xvnc :0 -SecurityTypes None -geometry 1820x980
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=1
|
||||
|
||||
# [program:xdummy]
|
||||
# command=/usr/bin/Xdummy :0 -screen 0 1820x980x8
|
||||
# autorestart=true
|
||||
# user=marc
|
||||
# priority=1
|
||||
|
||||
[program:picom]
|
||||
command=picom
|
||||
user=marc
|
||||
autorestart=true
|
||||
priority=2
|
||||
|
||||
[program:x11vnc]
|
||||
command=/usr/bin/x11vnc -shared -forever
|
||||
autorestart=true
|
||||
user=marc
|
||||
priority=2
|
||||
|
||||
[program:dwm]
|
||||
command=/usr/local/bin/dwm
|
||||
autorestart=true
|
||||
|
||||
Reference in New Issue
Block a user