Skip to content

Workflow file for this run

name: Build and Distribute
on:
pull_request:
push:
branches:
- release
- master
paths:
- "**"
workflow_dispatch:
env:
NAME: "libsilk-foobar"
concurrency:
group: ${{ github.head_ref || github.ref }}
jobs:
deb:
name: 'DEB #2'
permissions:
id-token: write
contents: read
uses: s3rj1k/actions-template/.github/workflows/cicd-docker-build-and-distribute.yml@all-in-one
strategy:
# max-parallel: 1
fail-fast: false
matrix:
os:
- debian
version:
- bullseye
platform:
- amd64
# - arm32v7
with:
ARTIFACTS_PATTERN: '.*\.(deb)$'
DOCKERFILE: .github/docker/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform }}/Dockerfile
MAINTAINER: 'Andrey Volk <andrey@signalwire.com>'
META_FILE_PATH_PREFIX: /var/www/${{ env.NAME }}/${{ matrix.os }}-${{ matrix.platform }}/${{ github.run_id }}-${{ github.run_number }}

Check failure on line 41 in .github/workflows/cicd.yml

View workflow run for this annotation

GitHub Actions / Build and Distribute

Invalid workflow file

The workflow is not valid. .github/workflows/cicd.yml (Line: 41, Col: 30): Unrecognized named-value: 'env'. Located at position 1 within expression: env.NAME .github/workflows/cicd.yml (Line: 47, Col: 25): Unrecognized named-value: 'env'. Located at position 1 within expression: env.NAME
PLATFORM: ${{ matrix.platform }}
TARGET_ARTIFACT_NAME: ${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform }}-artifact
UPLOAD_BUILD_ARTIFACTS: true
# UPLOAD_BUILD_ARTIFACTS: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.title, ':upload-artifacts') }}
META_REPO: signalwire/bamboo_gha_trigger
META_REPO_BRANCH: ${{ env.NAME }}/${{ github.ref_name }}/${{ matrix.os }}/${{ matrix.platform }}
secrets:
HOSTNAME: ${{ secrets.HOSTNAME }}
PROXY_URL: ${{ secrets.PROXY_URL }}
USERNAME: ${{ secrets.USERNAME }}
TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }}
GH_BOT_DEPLOY_TOKEN: ${{ secrets.PAT }}