Skip to content

Commit

Permalink
ci: add dummy config
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatrhd committed Jul 31, 2024
1 parent 4ef4a10 commit 8d368e0
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,30 @@ jobs:
ruby-version: '2.4.4'
- name: Build the Docker image
env:
GATE_HOSTED_DOMAINS: ${{ secrets.GATE_HOSTED_DOMAINS }}
GATE_SERVER_URL: gate.server/url
SIGN_IN_TYPE: ''
GATE_OAUTH_CLIENT_ID: totally_secret_client_id
GATE_OAUTH_CLIENT_SECRET: totally_secret
GATE_HOSTED_DOMAIN: gate.domain
GATE_HOSTED_DOMAINS: test1.com,test2.com
GATE_DB_HOST: localhost
GATE_DB_PORT: 3306
GATE_DB_NAME: ''
GATE_DB_USER: root
GATE_DB_PASSWORD: ''
CACHE_HOST: localhost
CACHE_PORT: 6379
SECRET_KEY_BASE: ''
SECRET_API_KEY: ''
GATE_CONFIG_SECRET: gate_pw_secret
USER_ROLES: employee,consultant
UID_BUFFER: 5000
DEFAULT_HOST_PATTERN: s*
PRODUCT_LIST: pr1,pr2
SAML_APPS: datadog
run: |
bundle install --without development
bundle exec rake assets:precompile RAILS_ENV=production
RAILS_ENV=production bundle exec rake assets:precompile
docker build . --file Dockerfile --tag gotocompany/gate:${{ github.ref_name }}
- name: Login to DockerHub
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit 8d368e0

Please sign in to comment.