20 lines
394 B
YAML
20 lines
394 B
YAML
name: Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
compile:
|
|
name: Build and run the container
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repo
|
|
uses: actions/checkout@v2
|
|
- name: Setup Docker Buildx
|
|
uses: docker/setup-buildx-action@v1
|
|
- name: Build
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
push: false
|