alpine-bash/.forgejo/workflows/build.yaml

14 lines
459 B
YAML
Raw Normal View History

2024-04-16 20:16:41 +02:00
on:
2024-04-16 20:59:23 +02:00
push:
2024-04-16 20:16:41 +02:00
schedule:
- cron: '0 0 * */1 *'
jobs:
build:
runs-on: docker
steps:
2024-04-16 23:51:09 +02:00
- run: apk add buildah wget
2024-04-16 23:51:55 +02:00
- run: buildah login --username "{{ secrets.username }}" --password "{{ secrets.password }}" git.geekify.de
2024-04-16 23:14:55 +02:00
- run: wget https://git.geekify.de/Containers/alpine-bash/raw/branch/main/Dockerfile
2024-04-16 23:47:30 +02:00
- run: buildah build --isolation=chroot | tee container_id
- run: export CONTAINER_ID=$(tail -n 1 container_id)