Skip to content

fix: don't run sudo in steps if user is root #4

fix: don't run sudo in steps if user is root

fix: don't run sudo in steps if user is root #4

Workflow file for this run

name: Test with systemd containers
on:
push:
tags:
- v*
workflow_dispatch:
inputs:
jobs:
ubuntu-test:
name: Run remote config test with Ubuntu systemd container
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build image
run: podman image build -t fup:ubuntu -f tests/image/Dockerfile.ubuntu .
- name: Provision in the image
run: |
container=$(podman container run --name ubuntu --rm -d fup:ubuntu)
podman container exec -ti $container bash -c 'curl -L fcd.url.lol/u | bash -'