Compare commits

...

3 Commits

Author SHA1 Message Date
Jef LeCompte afe7a70900 chore(nodejs): bump version (#2088) 2021-03-04 13:16:49 -05:00
Jef LeCompte f65aab87da docs: update node references 2021-03-02 14:58:33 -05:00
Jef LeCompte c2a22716cc ci: fix docker release 2021-03-02 12:56:43 -05:00
6 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: 15.10.0 node-version: 15.11.0
- name: Setup build cache - name: Setup build cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
+2 -4
View File
@@ -25,12 +25,10 @@ jobs:
if: ${{ steps.release.outputs.release_created }} if: ${{ steps.release.outputs.release_created }}
run: | run: |
docker build \ docker build \
-t "ghcr.io/${GITHUB_REPOSITORY}:${TAG_NAME}" \ -t "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}" \
-t "ghcr.io/${GITHUB_REPOSITORY}:latest" . -t "ghcr.io/${GITHUB_REPOSITORY}:latest" .
env:
TAG_NAME: ${{ steps.release.outputs.tag_name }}
- name: Release Docker image - name: Release Docker image
if: ${{ steps.release.outputs.release_created }} if: ${{ steps.release.outputs.release_created }}
run: | run: |
docker push "ghcr.io/${GITHUB_REPOSITORY}:${TAG_NAME}" docker push "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}"
docker push "ghcr.io/${GITHUB_REPOSITORY}:latest" docker push "ghcr.io/${GITHUB_REPOSITORY}:latest"
+1 -1
View File
@@ -1 +1 @@
15.10.0 15.11.0
+2 -2
View File
@@ -1,4 +1,4 @@
FROM node:15.10.0-alpine3.12 AS builder FROM node:15.11.0-alpine3.13 AS builder
LABEL org.opencontainers.image.source="https://github.com/jef/streetmerchant" LABEL org.opencontainers.image.source="https://github.com/jef/streetmerchant"
@@ -15,7 +15,7 @@ COPY src/ src/
RUN npm run compile RUN npm run compile
RUN npm prune --production RUN npm prune --production
FROM node:15.10.0-alpine3.12 FROM node:15.11.0-alpine3.13
RUN apk add --no-cache chromium RUN apk add --no-cache chromium
+1 -1
View File
@@ -22,7 +22,7 @@ First and foremost, this service _will not_ automatically buy for you.
## Quick start ## Quick start
streetmerchant runs on Node.js 14: streetmerchant runs on Node.js:
```shell ```shell
git clone https://github.com/jef/streetmerchant.git git clone https://github.com/jef/streetmerchant.git
+2 -2
View File
@@ -5,7 +5,7 @@ You do not need any computer skills, smarts, or anything of that nature. You are
## Prerequisites ## Prerequisites
- [git](https://git-scm.com/) - [git](https://git-scm.com/)
- Either [Node.js 14](https://nodejs.org/en/) or [Docker (1.13.0+)](https://docs.docker.com/get-docker/) (advanced users) - Either [Node.js 15](https://nodejs.org/en/) or [Docker (1.13.0+)](https://docs.docker.com/get-docker/) (advanced users)
## Using Node.js ## Using Node.js
@@ -14,7 +14,7 @@ You do not need any computer skills, smarts, or anything of that nature. You are
| tag | Example, `v1.0.0`; stable | | tag | Example, `v1.0.0`; stable |
| `main` | Latest HEAD; not tagged, could be unstable | | `main` | Latest HEAD; not tagged, could be unstable |
1. Download [Node.js 14](https://nodejs.org/en/) 1. Download [Node.js 15](https://nodejs.org/en/)
1. Clone this project `git clone https://github.com/jef/streetmerchant.git`. 1. Clone this project `git clone https://github.com/jef/streetmerchant.git`.
1. To checkout a particular reference, use `git checkout <ref name>` after cloning. 1. To checkout a particular reference, use `git checkout <ref name>` after cloning.
1. Navigate to this project by entering `cd streetmerchant`. 1. Navigate to this project by entering `cd streetmerchant`.