Add missing Forgejo Action build config.
All checks were successful
build / build (push) Successful in 11s
All checks were successful
build / build (push) Successful in 11s
This commit is contained in:
parent
ea8a257a89
commit
bfbc4d9966
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/build.yaml
Normal file
20
.forgejo/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: build
|
||||
run-name: ${{ forgejo.actor }} is building
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: host
|
||||
env:
|
||||
IMAGE_NAME: projects.torsion.org/witten/wake-on-lan-service:latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org
|
||||
env:
|
||||
USERNAME: "${{ secrets.REGISTRY_USERNAME }}"
|
||||
PASSWORD: "${{ secrets.REGISTRY_PASSWORD }}"
|
||||
- run: podman build --tag "$IMAGE_NAME" --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" .
|
||||
- run: podman push "$IMAGE_NAME"
|
||||
Loading…
Add table
Add a link
Reference in a new issue