Files
ebusd/.github/workflows/build.yml
T
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0dd3a80269 Bump proudust/gh-describe from 2.0.0 to 2.1.0 (#1356)
Bumps [proudust/gh-describe](https://github.com/proudust/gh-describe) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/proudust/gh-describe/releases)
- [Commits](https://github.com/proudust/gh-describe/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: proudust/gh-describe
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-26 07:10:42 +02:00

58 lines
1.3 KiB
YAML

name: Build
on:
push:
branches:
- master
paths:
- 'src/**'
- 'autogen.sh'
- 'config*'
- 'Makefile*'
- 'make_debian.sh'
- 'contrib/docker/**'
workflow_dispatch:
inputs:
limitarch:
description: Limit to this architecture
required: false
type: choice
options:
- ''
- amd64
- '386'
- arm/v7
- arm64
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: checkout
uses: actions/checkout@v4
-
name: gh-describe
id: gittag
uses: proudust/gh-describe@v2.1.0
-
name: set up QEMU
uses: docker/setup-qemu-action@v3
-
name: set up buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
-
name: login to docker hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: build
run: cd contrib/docker && GIT_BRANCH=${GITHUB_REF##*/} ./build.sh
env:
GIT_REVISION: ${{ steps.gittag.outputs.describe }}
LIMITARCH: ${{ github.event.inputs.limitarch }}