Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create test-Docker-build-works.yml #115

Merged
merged 18 commits into from
Apr 17, 2024
Merged
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
29 changes: 29 additions & 0 deletions .github/workflows/test-Docker-build-works.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
branches: [main]
pull_request:

jobs:
docker-compose-build:
runs-on: ubuntu-latest
timeout-minutes: 25

steps:
- name: Checkout workflow.data.preparation
uses: actions/checkout@v4

- name: create fake directories
run: |
mkdir inputs
mkdir outputs

- name: create .env file
run: |
cat <<EOF > .env
HOST_INPUTS_PATH=/inputs
HOST_OUTPUTS_PATH=/outputs
R_CONFIG_ACTIVE=2023Q4
EOF

- name: Build Docker image
run: docker-compose build --no-cache