Skip to content

Commit

Permalink
create buildchain
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Aug 14, 2024
1 parent f02c4de commit a178bec
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 33 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_commit_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,7 @@ jobs:
repo,
event_type,
client_payload
});
});
build_docker:
uses: ./.github/workflows/publish_docker_matrix.yml
16 changes: 13 additions & 3 deletions .github/workflows/publish_docker_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ on:
workflow_dispatch:
workflow_call:

push:
branches:
- master
- develop
tags:
- tc_nightly*
- tc_v*.*.*
pull_request:
branches: [ "master", "develop" ]

jobs:
generate-workflows-list:
runs-on: ubuntu-latest
Expand All @@ -20,9 +30,9 @@ jobs:
matrix_json=$(echo "$workflows" | tr ' ' '\n' | sed 's/^/"/;s/$/"/' | paste -sd, - | sed 's/^/[ /;s/$/ ]/')
echo "matrix_json=$matrix_json" >> $GITHUB_ENV
trigger_workflow_debian:
debian:
uses: ./.github/workflows/publish_docker_matrix_debian.yml
trigger_workflow_ubuntu:
ubuntu:
uses: ./.github/workflows/publish_docker_matrix_ubuntu.yml
trigger_workflow_alpine:
alpine:
uses: ./.github/workflows/publish_docker_matrix_alpine.yml
9 changes: 0 additions & 9 deletions .github/workflows/publish_docker_matrix_alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@ name: Docker Image Publish Matrix (Alpine)
on:
workflow_dispatch:
workflow_call:
push:
branches:
- master
- develop
tags:
- tc_nightly*
- tc_v*.*.*
pull_request:
branches: [ "master", "develop" ]

# permissions are needed if pushing to ghcr.io
permissions:
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/publish_docker_matrix_debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ name: Docker Image Publish Matrix (Debian)

on:
workflow_dispatch:
workflow_call:
push:
branches:
- master
- develop
tags:
- tc_nightly*
- tc_v*.*.*
pull_request:
branches: [ "master", "develop" ]

# permissions are needed if pushing to ghcr.io
permissions:
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/publish_docker_matrix_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ name: Docker Image Publish Matrix (Ubuntu)
on:
workflow_dispatch:
workflow_call:
push:
branches:
- master
- develop
tags:
- tc_nightly*
- tc_v*.*.*
pull_request:
branches: [ "master", "develop" ]


# permissions are needed if pushing to ghcr.io
permissions:
Expand Down

0 comments on commit a178bec

Please sign in to comment.