Create docker-image.yml
This commit is contained in:
24
.github/workflows/docker-image.yml
vendored
Normal file
24
.github/workflows/docker-image.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Docker
|
||||
run: |
|
||||
sudo apt-get install -y docker-compose
|
||||
|
||||
-name: build
|
||||
run: |
|
||||
docker-compose run linux-build && docker-compose run linux-run
|
||||
|
||||
Reference in New Issue
Block a user