Skip to content

Commit 3748695

Browse files
committed
Deploy without publishing a new image
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent cb5beb7 commit 3748695

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ GitHub Apps like this one can be blanket applied to organizations, an individual
3636

3737
This is an OpenFaaS Function written with the [golang-middleware template](https://docs.openfaas.com/go).
3838

39-
It can be deployed via `faas-cli up --publish --gateway https://gateway.example.com`.
39+
It can be deployed via `faas-cli deploy --gateway https://gateway.example.com`.
40+
41+
To publish and deploy an edited version of the source code, run `SERVER=docker.io OWNER=YOUR_ACCOUNT faas-cli up --publish --tag=digest --gateway https://gateway.example.com` instead.
4042

4143
You'll also need to create a GitHub App:
4244

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ functions:
77
release-promoter:
88
lang: golang-middleware
99
handler: ./release-promoter
10-
image: ${SERVER:-docker.io}/${OWNER:-alexellis2}/${REPO:-upload-release-promoter}:${TAG:-latest}
10+
image: ${SERVER:-ghcr.io}/${OWNER:-openfaas}/${REPO:-upload-release-promoter}:${TAG:-latest}
1111
environment_file:
1212
- production.env
1313
secrets:

0 commit comments

Comments
 (0)