Skip to content

fix: k8s files

fix: k8s files #267

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node-version }}
# install applicaion dependencies (force for MUI)
- name: Install dependencies
run: |
npm install --force
# build and test the apps (temp env variable for API_BASE_URL as there is no need)
- name: build
run: |
npm run build --noEmitOnErrorx
env:
VITE_API_BASE_URL: 'https://acdc-back-office.demo.insee.io/'
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v4
with:
name: inseefrlab/acdc
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
tags: 'develop'