This commit is contained in:
JMARyA 2024-09-05 12:05:28 +02:00
parent 5717d79a5f
commit 89bfbd2cb8
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,32 @@
name: build
on:
push:
branches:
- main
jobs:
deploy:
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
registry: git.hydrar.de
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: true
tags: git.hydrar.de/red/cdb_ui:latest