Compare commits
No commits in common. "2319132092066f9112ed7fcd1ccccfc560b4f2d7" and "87ee8b7eba3457b263cbbadc1d4af8344afa1bee" have entirely different histories.
2319132092
...
87ee8b7eba
1 changed files with 14 additions and 6 deletions
|
@ -4,15 +4,23 @@ jobs:
|
||||||
build-image:
|
build-image:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: quay.io/podman/stable
|
image: debian:trixie
|
||||||
|
volumes:
|
||||||
|
- /var/lib/containers
|
||||||
steps:
|
steps:
|
||||||
- name: Install additional packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
dnf -y install git nodejs
|
apt-get -y update
|
||||||
|
apt-get -y install git nodejs podman
|
||||||
|
|
||||||
|
- name: Fixup subuid/subgid
|
||||||
|
run: |
|
||||||
|
echo 'root:1:999' > /etc/subuid
|
||||||
|
echo 'root:1:999' > /etc/subgid
|
||||||
|
|
||||||
- name: Setup podman
|
- name: Setup podman
|
||||||
run: |
|
run: |
|
||||||
sudo -u podman podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
|
podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|
||||||
- name: Repository Checkout
|
- name: Repository Checkout
|
||||||
uses: https://gitea.angry.im/actions/checkout@v3
|
uses: https://gitea.angry.im/actions/checkout@v3
|
||||||
|
@ -20,7 +28,7 @@ jobs:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Confirm Podman works
|
- name: Confirm Podman works
|
||||||
run: sudo -u podman podman run --rm hello-world
|
run: podman run --rm hello-world
|
||||||
|
|
||||||
- name: Build & Push
|
- name: Build & Push
|
||||||
run: sudo -u podman ./build-image.sh element-web
|
run: ./build-image.sh element-web
|
||||||
|
|
Loading…
Add table
Reference in a new issue