Skip to content

Merge pull request #356 from systemaccounting/dev-integration #18

Merge pull request #356 from systemaccounting/dev-integration

Merge pull request #356 from systemaccounting/dev-integration #18

name: prod-client-base-image
on:
push:
paths:
- client/package.json
- client/package-lock.json
- docker/prod/client-base.Dockerfile
jobs:
deploy:
name: deploy client-base image
runs-on: ubuntu-latest
env:
IMAGE_NAME: mxfactorial/client-base:v1
CI: true
steps:
- uses: actions/checkout@v3
- name: docker login
run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login -u mxfactorial --password-stdin
- name: docker build
run: docker build -f ./docker/client-base.Dockerfile -t "$IMAGE_NAME" .
- name: docker push
run: docker image push "$IMAGE_NAME"