Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

🆕 Create Dockerfile #14

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@
![.github/workflows/main.yml](https://github.com/getfem-doc/getfem-github-actions/workflows/.github/workflows/main.yml/badge.svg)

GetFEM GitHub Actions

## Inputs

None

## Outputs

None

## Example usage

uses: actions/getfem-github-actions@v1
8 changes: 8 additions & 0 deletions getfem-github-actions/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Container image that runs your code
FROM getfemdoc/getfem:latest

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
8 changes: 8 additions & 0 deletions getfem-github-actions/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# action.yml
name: 'getfem-github-actions'
description: 'Run in getfem latest'
inputs:
outputs:
runs:
using: 'docker'
image: 'Dockerfile'
1 change: 1 addition & 0 deletions getfem-github-actions/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/bin/sh -l