Skip to content

[Docker] Bump codbex/codbex-gaia from 0.26.0 to 0.27.0 #29

[Docker] Bump codbex/codbex-gaia from 0.26.0 to 0.27.0

[Docker] Bump codbex/codbex-gaia from 0.26.0 to 0.27.0 #29

Workflow file for this run

name: Pull Request - PI Bank Backend
on:
pull_request:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install TypeScript compiler
run: npm i -g typescript
- name: TypeScript Build
run: |
cd pi-bank-backend
tsc --pretty > tsc-output.log 2>&1 || true
grep -v 'TS2688' tsc-output.log > filtered-tsc-output.log
cat filtered-tsc-output.log
if grep -q 'error TS' filtered-tsc-output.log; then
exit 1
fi
- name: Install Dependencies
run: |
cd ./pi-bank-backend
echo "@codbex:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${{ secrets.DOCKER_PASSWORD }}" > .npmrc
npm install
rm -rf .npmrc
- name: Initialize Buildx
run: |
docker buildx create --name builder || true
docker buildx use builder
- name: Build Docker Image
run: |
docker buildx build --tag pi-bank-backend -o type=image --platform=linux/arm64,linux/amd64 .