Compare commits
3 commits
87ee8b7eba
...
2319132092
Author | SHA1 | Date | |
---|---|---|---|
Peter Cai | 2319132092 | ||
Peter Cai | 037fe95b37 | ||
Peter Cai | bba6274869 |
|
@ -4,23 +4,15 @@ jobs:
|
|||
build-image:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: debian:trixie
|
||||
volumes:
|
||||
- /var/lib/containers
|
||||
image: quay.io/podman/stable
|
||||
steps:
|
||||
- name: Install packages
|
||||
- name: Install additional packages
|
||||
run: |
|
||||
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
|
||||
dnf -y install git nodejs
|
||||
|
||||
- name: Setup podman
|
||||
run: |
|
||||
podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
|
||||
sudo -u podman podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
|
||||
|
||||
- name: Repository Checkout
|
||||
uses: https://gitea.angry.im/actions/checkout@v3
|
||||
|
@ -28,7 +20,7 @@ jobs:
|
|||
submodules: recursive
|
||||
|
||||
- name: Confirm Podman works
|
||||
run: podman run --rm hello-world
|
||||
run: sudo -u podman podman run --rm hello-world
|
||||
|
||||
- name: Build & Push
|
||||
run: ./build-image.sh element-web
|
||||
run: sudo -u podman ./build-image.sh element-web
|
||||
|
|
Loading…
Reference in a new issue