Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
add workflow to build and push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
kclejeune committed Sep 4, 2021
1 parent 5d61b4f commit f2d680a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ jobs:
node-version: 16.x
# Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm
cache: npm
- name: Install Dependencies
run: npm ci
- name: Build Project
run: npm run build
- name: Install and Build
run: npm ci && npm run build
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: kclejeune/tmobile-isp-client

0 comments on commit f2d680a

Please sign in to comment.