Skip to content

Commit

Permalink
Add GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Dieterle committed Sep 9, 2022
1 parent deeca8d commit 69d6ef5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
.github
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: trigger-build
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+

jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: trigger
run: curl -X POST --fail -F token=$DOCKER_BUILD_TOKEN -F ref=main -F "variables[REPOSITORY]=$GITHUB_REPOSITORY" -F "variables[COMMIT_TAG]=$GITHUB_REF_NAME" $DOCKER_BUILD_URL
env:
DOCKER_BUILD_TOKEN: ${{ secrets.DOCKER_BUILD_TOKEN }}
DOCKER_BUILD_URL: ${{ secrets.DOCKER_BUILD_URL }}

0 comments on commit 69d6ef5

Please sign in to comment.