Merge pull request #395 from systemaccounting/394-protocol-prefixes #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |