Add workflow
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 49s
Some checks failed
Build AirSignal Docker image / build-docker (push) Failing after 49s
This commit is contained in:
19
.gitea/workflows/docker.yaml
Normal file
19
.gitea/workflows/docker.yaml
Normal 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
|
||||
|
||||
|
Reference in New Issue
Block a user