-
Notifications
You must be signed in to change notification settings - Fork 526
37 lines (37 loc) · 1.29 KB
/
Copy pathdev_test_docker.yml
File metadata and controls
37 lines (37 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: test docker file
on:
workflow_dispatch:
jobs:
run-tests:
runs-on: ubuntu-latest
env:
CI: true
RAILS_ENV: test
RACK_ENV: test
DISABLE_SPRING: 1
AWS_ACCESS_KEY_ID: $${{ secrets.CI_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: $${{ secrets.CI_AWS_SECRET_ACCESS_KEY }}
steps:
- name: Get actions code
uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.CI_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.CI_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Check AWS credentials
run: aws sts get-caller-identity --no-cli-pager
- name: say-hello
uses: ./.github/actions/start-server-job-actions
# - name: run docker
# run: docker build -t local < ./code-dot-org/docker/dockerfiles/Dockerfile
- name: install docker
run: |
brew install docker-compose
export FIXUID=$(id -u)
export FIXGID=$(id -g)
docker-compose -f ./docker/setup-compose.yml up > output.txt
continue-on-error: true
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3