cdb/.gitea/workflows/build.yml
2024-05-03 18:35:01 +02:00

25 lines
No EOL
575 B
YAML

name: build
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: Log in to Docker registry
run: echo "${{ secrets.registry_password }}" | docker login -u "jmarya" --password-stdin git.hydrar.de
- name: Build and push Docker image
run: |
docker build -t git.hydrar.de/red/cdb:latest .
docker push git.hydrar.de/red/cdb:latest