Migrate from woodpecker to forgejo actions
Some checks failed
/ build_image (push) Failing after 2m8s

This commit is contained in:
Marko Korhonen 2024-02-24 13:11:53 +02:00
parent 568137442a
commit c16315b56b
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 16 additions and 11 deletions

View file

@ -0,0 +1,16 @@
on: [push]
jobs:
build_image:
runs-on: docker
steps:
- name: Build and push image
uses: docker/build-push-action@v5
with:
push: true
tags: git.korhonen.cc/functionalhacker/forgejo-asciidoc
- name: Login to Docker registry (forgejo)
uses: docker/login-action@v3
with:
registry: git.korhonen.cc
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}

View file

@ -1,11 +0,0 @@
steps:
build:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.korhonen.cc/functionalhacker/forgejo-asciidoc
registry: https://git.korhonen.cc
username: FunctionalHacker
password:
from_secret: registry_password
tags: latest
platforms: linux/amd64