summaryrefslogtreecommitdiff
path: root/.forgejo/workflows/demo.yaml
blob: 0e6e2d2b64e98c18150af00f6ccf5fa8c89c5bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
on:
  schedule:
    - cron: "5 * * *"
  push:
    branches:
      - "main"

jobs:
  test:
    runs-on: docker
    steps:
      - run: echo All good!

  container-build:
    name: Build image
    runs-on: docker
    container:
      image: 'ci/Containerfile'

    steps:
    - uses: actions/checkout@v4
    - name: Buildah Action
      uses: redhat-actions/buildah-build@v2
      with:
        image: test-image
        containerfiles: |
          ./Containerfile