2024-07-23 08:42:13 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
test_docker:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
2024-07-23 11:52:11 +00:00
|
|
|
- run: cat /etc/os-release
|
2024-07-23 12:48:22 +00:00
|
|
|
- run: uname -a
|
|
|
|
- run: whoami
|
|
|
|
- run: docker --version
|
|
|
|
- run: docker run --rm code.forgejo.org/forgejo/runner:3.4.1 forgejo-runner --version
|
2024-07-23 12:46:07 +00:00
|
|
|
- run: sudo systemctl restart docker
|
|
|
|
- run: sudo docker run hello-world
|
2024-07-23 08:42:13 +00:00
|
|
|
- run: docker info
|