CI
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2024-12-06 19:43:58 +01:00
parent 36a5d9059d
commit f846594acf
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 18 additions and 32 deletions

View file

@ -1,32 +0,0 @@
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,linux/arm64
push: true
tags: git.hydrar.de/hydra/flutter:latest

18
.woodpecker/build.yml Normal file
View file

@ -0,0 +1,18 @@
when:
- event: push
branch: main
steps:
- name: build
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64
repo: git.hydrar.de/hydra/flutter
registry: git.hydrar.de
tag: latest
username: jmarya
password:
from_secret: registry_token
when:
event: cron
cron: "rebuild"