Skip to content

Merge pull request #399 from systemaccounting/398-svelte-5 #28

Merge pull request #399 from systemaccounting/398-svelte-5

Merge pull request #399 from systemaccounting/398-svelte-5 #28

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" --provenance=false .
- name: docker push
run: docker image push "$IMAGE_NAME"