Migrate from woodpecker to forgejo actions
Some checks failed
/ build_image (push) Failing after 2m8s
Some checks failed
/ build_image (push) Failing after 2m8s
This commit is contained in:
parent
568137442a
commit
c16315b56b
2 changed files with 16 additions and 11 deletions
16
.forgejo/workflows/build.yaml
Normal file
16
.forgejo/workflows/build.yaml
Normal 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 }}
|
|
@ -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
|
|
Loading…
Reference in a new issue