Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build and Release

on:
push:
tags:
- "v*.*.*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

runs-on: ubuntu-latest

permissions:
contents: write # Allows the action to create and write to the release

steps:
- uses: actions/checkout@v4

- name: autogen
run: autoreconf --install --force

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libssh-dev libsystemd-dev

- name: configure
run: ./configure

- name: Run make
run: make

- name: Run check
run: make check

- name: Run distcheck
run: make distcheck

- name: Create Release and Upload Assets
uses: softprops/action-gh-release@v2
with:
draft: true
prerelease: true
files: |
lbbs-*.tar.gz
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Docker Image CI

on:
push:
branches: [ "main" ]
branches:
- "main"
- "v*.*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
name: Publish Docker image

on:
release:
types: [published]
push:
tags:
- "v*.*.*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -60,6 +61,8 @@ jobs:
context: .
file: ./Dockerfile/dockerfile.bbsd
push: true
provenance: true
sbom: true
tags: |
${{ env.BBSD_IMAGE }}:${{ github.ref_name }}
${{ env.BBSD_IMAGE }}:latest
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ name: Makefile CI

on:
push:
branches: [ "v1.7" ]
branches:
- "main"
- "v*.*"
pull_request:
branches: [ "v1.7" ]
branches:
- "main"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down