Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechpolak committed Sep 16, 2024
1 parent cd18f0c commit 8cc437a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,18 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches
fetch-depth: 0 # Fetch all history for all branches

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci

- name: Run prebuild script
run: npm run prebuild

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ favorite web browser or as a PWA from your phone's main screen.
## Running (out of the box)

```shell
docker run -p 8080:80 --name time-tracker ghcr.io/wojciechpolak/time-tracker
docker run -it -p 8080:80 --name time-tracker ghcr.io/wojciechpolak/time-tracker
```

### Running with Docker Compose
Expand Down

0 comments on commit 8cc437a

Please sign in to comment.