File tree 1 file changed +30
-1
lines changed
1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
+ - name : Set up Ruby
14
+ uses : ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
15
+ with :
16
+ ruby-version : ' 2.4.4'
13
17
- name : Build the Docker image
14
- run : docker build . --file Dockerfile --tag gotocompany/gate:${{ github.ref_name }}
18
+ env :
19
+ GATE_SERVER_URL : gate.server/url
20
+ SIGN_IN_TYPE : ' '
21
+ GATE_OAUTH_CLIENT_ID : totally_secret_client_id
22
+ GATE_OAUTH_CLIENT_SECRET : totally_secret
23
+ GATE_HOSTED_DOMAIN : gate.domain
24
+ GATE_HOSTED_DOMAINS : test1.com,test2.com
25
+ GATE_DB_HOST : localhost
26
+ GATE_DB_PORT : 3306
27
+ GATE_DB_NAME : ' '
28
+ GATE_DB_USER : root
29
+ GATE_DB_PASSWORD : ' '
30
+ CACHE_HOST : localhost
31
+ CACHE_PORT : 6379
32
+ SECRET_KEY_BASE : ' '
33
+ SECRET_API_KEY : ' '
34
+ GATE_CONFIG_SECRET : gate_pw_secret
35
+ USER_ROLES : employee,consultant
36
+ UID_BUFFER : 5000
37
+ DEFAULT_HOST_PATTERN : s*
38
+ PRODUCT_LIST : pr1,pr2
39
+ SAML_APPS : datadog
40
+ run : |
41
+ bundle install --without development
42
+ RAILS_ENV=production bundle exec rake assets:precompile
43
+ docker build . --file Dockerfile --tag gotocompany/gate:${{ github.ref_name }}
15
44
- name : Login to DockerHub
16
45
run : docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
17
46
- name : Push Docker image
You can’t perform that action at this time.
0 commit comments