devcontainer/.gitea/workflows/ci.yaml

28 lines
766 B
YAML
Raw Normal View History

name: Build container
2024-09-29 09:29:50 +00:00
on:
push:
schedule:
- cron: '0 16 * * FRI'
2024-09-28 16:00:00 +00:00
jobs:
build:
runs-on: rocky-minimal
2024-09-28 16:00:00 +00:00
steps:
- uses: actions/checkout@v4
- name: Build
uses: redhat-actions/buildah-build@v2
2024-09-28 16:00:00 +00:00
with:
image: ${{ github.actor }}/${{ github.event.repository.name }}
tags: latest
containerfiles: |
./Containerfile
- name: Push
uses: redhat-actions/push-to-registry@v2
2024-09-28 16:00:00 +00:00
with:
image: ${{ github.actor }}/${{ github.event.repository.name }}
tags: latest
extra-args: --compression-format zstd:chunked
2024-09-28 16:00:00 +00:00
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}