This commit is contained in:
28
.gitea/workflows/test.yml
Normal file
28
.gitea/workflows/test.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Find out interesting things about this runner
|
||||
run: |
|
||||
cat /etc/os-release
|
||||
|
||||
- name: Check out files
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install malware
|
||||
run: |
|
||||
apt-get install curl
|
||||
|
||||
- name: Install Docker
|
||||
run: |
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sh get-docker.sh
|
||||
|
||||
- name: Docker moment
|
||||
run: docker run hello-world
|
||||
Reference in New Issue
Block a user