Skip to content

Commit

Permalink
ci(docker): publish docker image for releases (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mijailr authored Jan 14, 2025
1 parent bd911f3 commit a4b1087
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,31 @@ jobs:
run: npm publish -w api-client --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
publish-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: package-lock.json
node-version: 20

- name: Installing Dependencies
run: npm install

- name: Lint
run: npm run lint -ws

- name: Build
run: npm run build -ws

- name: Publish Image
uses: littlehorse-enterprises/publish-image@v1
with:
image-name: lh-sso-workflow-bridge-ui
registry: ecr
dockerfile: Dockerfile

0 comments on commit a4b1087

Please sign in to comment.