Skip to content

feat: oracle connector #3

feat: oracle connector

feat: oracle connector #3

Workflow file for this run

name: "⚒️ Build docker image"
on:
pull_request:
types: [ready_for_review]
jobs:
build_docker:
name: "⚒️ Build docker image"
runs-on: ubuntu-latest
env:
MIX_ENV: test
strategy:
matrix:
elixir: [ '1.14' ]
otp: [ '25' ]
services:
db:
image: postgres:14
ports: [ '5432:5432' ]
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get deps cache
uses: actions/cache@v4
with:
path: deps/
key: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
- name: Get build cache
uses: actions/cache@v4
with:
path: _build/test/
key: build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
- name: Setup elixir
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4.0+sha256.b6fd0bfda555e7e584ad7e56b30c68b01d5a04f9ee93989f4b93ca8473c49c74
- name: Install Dependencies
env: # needs env for `mix ecto.setup`
PHX_HOST: localhost
PORT: 4000
FILE_STORAGE_ADAPTER: local
run: npm run setup
- name: Build docker image
run: docker build -t azimutt .