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

13 lines
494 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-17 00:02:59 +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
2024-04-17 00:05:44 +02:00
- run: buildah push $(tail -n 1 container_id) git.geekify.de/containers/alpine-test:latest