Skip to content

dataservice: remove theme from webcomp model #246

dataservice: remove theme from webcomp model

dataservice: remove theme from webcomp model #246

name: CI/CD wcstore docker
on:
push:
pull_request:
jobs:
build-api:
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/prod'
concurrency: build-api
env:
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}-local-wcs-api
DOCKER_TAG: latest
steps:
- name: Checkout source code
uses: noi-techpark/github-actions/checkout@v2
- name: Build and push images
uses: noi-techpark/github-actions/docker-build-and-push@v2
with:
docker-username: ${{ github.actor }}
docker-password: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./backend/data-service/infrastructure/docker
docker-compose-file: docker-compose.local-wcs.yml
build-cdn:
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/prod'
concurrency: build-cdn
env:
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}-local-wcs-cdn
DOCKER_TAG: latest
steps:
- name: Checkout source code
uses: noi-techpark/github-actions/checkout@v2
- name: Build and push images
uses: noi-techpark/github-actions/docker-build-and-push@v2
with:
docker-username: ${{ github.actor }}
docker-password: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./backend/delivery-service/infrastructure/docker
docker-compose-file: docker-compose.local-wcs.yml
build-frontend:
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/prod'
concurrency: build-frontend
env:
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}-local-wcs-frontend
DOCKER_TAG: latest
steps:
- name: Checkout source code
uses: noi-techpark/github-actions/checkout@v2
- name: Setup node and yarn
uses: actions/setup-node@v2
with:
node-version: '14.x'
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock
- name: Build
run: |
yarn install
yarn run build
working-directory: frontend
- name: Build and push images
uses: noi-techpark/github-actions/docker-build-and-push@v2
with:
docker-username: ${{ github.actor }}
docker-password: ${{ secrets.GITHUB_TOKEN }}
working-directory: frontend/docker
docker-compose-file: docker-compose.local-wcs.yml
build-cli:
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/prod'
concurrency: build-cli
env:
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}-local-wcs-cli
DOCKER_TAG: latest
steps:
- name: Checkout source code
uses: noi-techpark/github-actions/checkout@v2
- name: Build and push images
uses: noi-techpark/github-actions/docker-build-and-push@v2
with:
docker-username: ${{ github.actor }}
docker-password: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./webcompstore-cli/docker
docker-compose-file: docker-compose.local-wcs.yml