Skip to content

Enable github to trigger internal gitlab docker image build (#769) #4

Enable github to trigger internal gitlab docker image build (#769)

Enable github to trigger internal gitlab docker image build (#769) #4

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- "master"
- "develop"
workflow_call:
release:
types:
- created # draft release
# - published
jobs:
mirror-and-integration-test-on-gitlab:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Mirror + trigger CI
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
with:
args: "https://git.sinergise.com/eo/code/eo-learn/"
env:
GITLAB_HOSTNAME: "git.sinergise.com"
GITLAB_USERNAME: "github-action"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "164"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REF: $GITHUB_REF