Skip to content

Code0x58/gitlab-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions in GitLab CI

This repository builds a Docker image which can be used with the .gitlab-ci.yml in GitLab to run a repository's GitHub Actions via act.

variables:
  DOCKER_HOST: tcp://docker:2375/
  DOCKER_DRIVER: overlay2
services:
  - docker:dind

stages:
  - action

GitHub Actions:
  image: code0x58/act
  stage: action
  script:
    # fix GitLab's non-symbolic-ref HEAD
    - git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"
    - act --list
    - DOCKER_API_VERSION=1.39 act

You can see the pipline runs for this repository on GitLab.

Releases

No releases published

Packages

No packages published