mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 14:37:41 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| afe7a70900 | |||
| f65aab87da | |||
| c2a22716cc |
@@ -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:
|
||||||
|
|||||||
@@ -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
@@ -1 +1 @@
|
|||||||
15.10.0
|
15.11.0
|
||||||
|
|||||||
+2
-2
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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`.
|
||||||
|
|||||||
Reference in New Issue
Block a user