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

14 lines
503 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-05-17 12:34:55 +02:00
- run: wget ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/raw/branch/${GITHUB_REF_NAME}/Dockerfile
2024-04-16 23:47:30 +02:00
- run: buildah build --isolation=chroot | tee container_id
2024-05-17 12:34:55 +02:00
- run: buildah push $(tail -n 1 container_id) git.geekify.de/${GITHUB_REPOSITORY}:latest