[CI] improve on github workflows (#1889)

* [CI] making a proper github CI workflow
This commit is contained in:
dni ⚡ 2023-08-24 12:36:37 +02:00 committed by GitHub
parent ac0ef07a77
commit c54f48ee73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 272 additions and 388 deletions

20
.github/workflows/docker.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: docker
on:
workflow_call:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: false
tags: lnbitsdocker/lnbits-legend:latest
cache-from: type=registry,ref=lnbitsdocker/lnbits-legend:latest
cache-to: type=inline