Skip to content

chore(velero-ui-api): tmp disabled k8s health check #13

chore(velero-ui-api): tmp disabled k8s health check

chore(velero-ui-api): tmp disabled k8s health check #13

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- main
paths:
- apps/**
- libs/**
permissions:
actions: read
contents: read
env:
DOCKER_IMAGE: otwld/velero-ui
NX_BASE: main
jobs:
main:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn install --frozen-lockfile
- uses: nrwl/nx-set-shas@v3
- run: yarn nx run-many -t build --prod
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker Image
env:
DOCKER_TAG: ${{ steps.package-version.outputs.current-version }}
run: |
docker build . -t $DOCKER_IMAGE:$DOCKER_TAG
docker tag $DOCKER_IMAGE:$DOCKER_TAG $DOCKER_IMAGE:latest
docker image push $DOCKER_IMAGE:$DOCKER_TAG
docker image push $DOCKER_IMAGE:latest