Add workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 49s

This commit is contained in:
2023-11-09 00:48:43 +01:00
parent 15a0311f38
commit 972d457b01

View File

@ -0,0 +1,19 @@
name: Build AirSignal Docker image
on:
push:
branches: [master]
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to container registry
run: echo ${{ secrets.CONTAINER_REGISTRY_TOKEN }} | docker login -u ${{ secrets.CONTAINER_REGISTRY_USER }} https://gitea.local.chriphost.de
- name: Build Docker image
run: docker build . --file Dockerfile
- name: Push Docker image
run: docker push https://gitea.local.chriphost.de/christoph/airsignal:latest