Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
d85d5e7
Export new metrics for OpenFaaS Pro scaling
alexellis Jan 24, 2022
feb649b
Turn off query for usage for invocations
alexellis Jan 24, 2022
12de8f7
blogs: add new post for 2022
jsiebens Jan 24, 2022
6abf1a6
Move GitHub Actions to use Go 1.17
alexellis Jan 24, 2022
a07ef4c
Use the latest license-check binary
alexellis Jan 24, 2022
cdb6bad
Deference channel
alexellis Jan 24, 2022
1060526
Update README
alexellis Jan 25, 2022
e1016c1
Update image for Serverless For Everyone Else
alexellis Jan 25, 2022
012fc38
Add blog post on OpenFaaS from iximiuz.com
iximiuz Jan 26, 2022
85ffec1
Add some more blog posts
alexellis Feb 1, 2022
ca2575a
Update casing of Pro
alexellis Feb 8, 2022
e29d96a
Update dashboard image
alexellis Feb 21, 2022
b429396
Upgrade to alpine:3.15 where possible
alexellis Feb 21, 2022
5a1c9d9
Rename nodejs-npm to npm in sample packages
alexellis Feb 21, 2022
c238110
Update CI runtime version for basic-auth build
alexellis Feb 22, 2022
4602fa7
Fix typo in error message
alexellis Mar 25, 2022
fe0ba7b
Update stack diagram to remove OpenFaaS Cloud
alexellis Apr 12, 2022
74b0261
Update .DEREK.yml
alexellis Apr 12, 2022
ba93020
Update ISSUE_TEMPLATE.md
alexellis Apr 12, 2022
05b25f2
Update ISSUE_TEMPLATE.md
alexellis Apr 12, 2022
c32d94f
Update .DEREK.yml
alexellis Apr 14, 2022
e5dc98c
Add ADOPTER
alexellis Apr 19, 2022
8065a4b
Add my blog post
mrsimonemms Apr 27, 2022
a530b9d
update prometheus client golang
hilariocoelho May 6, 2022
4783845
Update Go module for basic-auth and remove Gopkg file
alexellis May 6, 2022
b097c87
Update whitespace in Dockerfile
alexellis May 6, 2022
0d7ace7
Pin Alpine Linux patch version
alexellis May 6, 2022
4e868f5
Add welteki for Derek curation
welteki May 9, 2022
3544fff
Update some details learned at KubeCon
alexellis May 20, 2022
e778a3a
Move to Alpine 3.16 and add blog posts
alexellis May 26, 2022
2fad856
Update events for 2021 and 2022
alexellis May 26, 2022
96cfdee
Add blog post on wasm functions using Sat
welteki May 12, 2022
cc2f389
Add HTTP status code to histogram
alexellis Jun 1, 2022
5b77ad4
Add blog post on running faasd on azure arm vm
welteki May 30, 2022
d1022c4
Add blog post on event-driven edge
welteki Jun 3, 2022
df3d59c
Removed newline and corrected markdown-table for Interviews and podcasts
andmos Jun 2, 2022
08279fb
Update a couple of adopters as disclosed outside of NDA
alexellis Jun 6, 2022
8f8a93d
Add Makefile for testing gateway builds
alexellis Jun 22, 2022
6ed0ab7
Move to single-flight for back-end queries
alexellis Jun 22, 2022
01841f6
Use sync package from unofficial Go library
alexellis Jun 23, 2022
88eea5f
Feature for probing functions
alexellis Jun 29, 2022
2e14a34
Update example for golang-http
alexellis Jul 13, 2022
b87b96a
Migrate to Go 1.18 and update dependencies
alexellis Aug 4, 2022
2cdc7f3
Update ADOPTERS.md
dcolley Aug 11, 2022
1ee7db9
Remove deprecated stack files
alexellis Aug 24, 2022
40bb358
Remove sample-functions in favour of newer examples
alexellis Aug 24, 2022
774c7bb
Update README.md
alexellis Aug 24, 2022
2e8ec68
Update README.md
alexellis Aug 24, 2022
20b62e3
Remove deprecated files
alexellis Aug 24, 2022
ce5ea17
Upgrade x/sync, Prometheus client and faas-provider
alexellis Aug 24, 2022
dc2a7a0
Update alpine version for basic-auth-plugin
alexellis Aug 24, 2022
9fccc67
Remove OpenFaaS Pro metrics from OpenFaaS CE
alexellis Aug 30, 2022
4604271
Introduce welcome message and change default timeout
alexellis Aug 30, 2022
8e711b3
Use Desired Replicas when scaling from zero
alexellis Sep 8, 2022
9da2ec2
Update ISSUE_TEMPLATE.md
alexellis Sep 13, 2022
887c804
Improve error message when unable to list functions
alexellis Sep 21, 2022
bc2eeff
Improve errors when backend doesn't return JSON
alexellis Sep 21, 2022
1a00a55
Use write interceptor from faas-provider
alexellis Sep 29, 2022
bb16376
HelloSafe
SimonRenault86 Oct 11, 2022
32b828b
Update ADOPTERS.md
alexellis Oct 13, 2022
806585b
Update some missing ADOPTERS
alexellis Oct 20, 2022
06433e1
Add ADOPTER
alexellis Oct 20, 2022
efffd83
Add ADOPTER
alexellis Oct 20, 2022
03b6d6c
Add another user to ADOPTERS
alexellis Oct 20, 2022
f7f71f1
Add Klar to ADOPTERS
alexellis Oct 24, 2022
0255a94
Add ADOPTER
arnediekmann Oct 24, 2022
208b1b2
Update ISSUE_TEMPLATE.md
alexellis Oct 24, 2022
c07bebb
fix: return provider response during fnc listing errors
LucasRoesler Oct 7, 2022
9d0436e
Update README intro
alexellis Dec 6, 2022
88bedf7
Update ADOPTER
alexellis Oct 20, 2022
004bbdd
Update queue code for legacy NATS Streaming
alexellis Dec 14, 2022
b31419c
Fix CI for deprecated set_output
alexellis Dec 14, 2022
e1c62f4
Update Go and alpine versions
alexellis Dec 14, 2022
e3171b4
Remove old ROADMAP
alexellis Dec 14, 2022
3bafff7
Fix issue with empty CI tag
alexellis Dec 14, 2022
f3599f4
Apply gofmt
alexellis Dec 14, 2022
f9245eb
Add write permissions to GHCR
alexellis Dec 14, 2022
b1ef4b4
fix: use io.ReadAll replace ioutil.ReadAll
vpc123 Nov 22, 2022
a7d486e
Make OpenFaaS CE use the provider for load-balancing
alexellis Jan 11, 2023
4f9c61b
Deprecate external auth plugins
alexellis Jan 11, 2023
fbc0ebd
Add comment to middleware
alexellis Jan 11, 2023
231e3ed
Remove builds for auth plugins
alexellis Jan 11, 2023
1fc7bbc
Remove auth plugins
alexellis Jan 11, 2023
8d38b4b
Update to EULA Jan 2023
alexellis Jan 12, 2023
21a8f0c
Update GHA for deprecations
alexellis Jan 12, 2023
8e1c34e
Set default max scale to 5 replicas and a 10% increment
alexellis Jan 17, 2023
c26ec52
Updates for NATS Streaming support
alexellis Jan 17, 2023
a128df4
Function-based metrics for CE
alexellis Jan 28, 2023
bf63bbf
Added Blog Post and Videos
nitishkumar71 Mar 7, 2023
e44448c
update community guide for latest blogs and post
nitishkumar71 Mar 8, 2023
0972fa6
update community guide
nitishkumar71 Apr 16, 2023
b4b7e2d
Update OSS ADOPTERS
alexellis May 3, 2023
4315101
Add Corva
alexellis May 21, 2023
e0144b0
Add Valentin Nourdin as an adopter
vnourdin May 10, 2023
0061334
Implement scaling ranges
alexellis Jun 7, 2023
910b8da
Update go.mod to 1.19 spec
alexellis Jun 7, 2023
06ade37
feat: refactor api spec to use OpenAPI and add missing spec
LucasRoesler Jun 4, 2023
373a792
Remove generated models
LucasRoesler Jun 4, 2023
c0d710c
chore: add missing List Namespaces endpoint
LucasRoesler Jun 4, 2023
68ec0f5
Migrate to latest faas-provider version
alexellis Jul 7, 2023
9e6f814
Increase go.mod version
alexellis Jul 7, 2023
5c851cd
docs: add missing namespace field to the scale request
LucasRoesler Jul 15, 2023
128b450
Add new ADOPTER who contacted us via email
alexellis Jul 31, 2023
472291b
Setup quotes
alexellis Jul 31, 2023
c3800da
Add additional use-case from CDATA
alexellis Aug 3, 2023
55776ac
Add Altair
alexellis Aug 3, 2023
2a88b5d
Remove ioutil usage
alexellis Aug 22, 2023
0036d6a
Update ADOPTERS
alexellis Aug 22, 2023
6a9ece3
Update module to Go 1.20
alexellis Aug 22, 2023
25e44f0
Add additional adopter
alexellis Sep 12, 2023
d0eec5f
Update Call ID Middleware
alexellis Sep 13, 2023
4f4e3d2
chore: remove refs to deprecated io/ioutil
testwill Sep 7, 2023
ed5bd75
Rename to OpenFaaS
alexellis Oct 4, 2023
4cf5fb8
Update contributing guide
alexellis Oct 4, 2023
479285c
fixed adopters
nitishkumar71 Oct 9, 2023
9ba4a73
Rename Makefile targets
alexellis Oct 23, 2023
02205b8
Update ADOPTERS.md
alexellis Nov 2, 2023
4679f27
Support streaming responses from functions
alexellis Jan 11, 2024
5c13f1f
Fixes for request body passing into text streaming proxy
alexellis Jan 11, 2024
1ab3f32
Prepare OpenFaaS editions for telemetry data collection
alexellis Jan 26, 2024
609b43b
Introduce EULA for OpenFaaS CE
alexellis Mar 2, 2024
8d5dcdf
CE 60 day limit is only for evaluation purposes
alexellis Mar 2, 2024
667577f
Remember to close HTTP body from response
alexellis Apr 2, 2024
b22cb63
Update error handling for empty metrics responses in exporter
alexellis Apr 2, 2024
5f0fa69
Fix two typos
alexellis Apr 28, 2024
65d37f2
CE EULA update
alexellis May 31, 2024
3d28083
Update go.mod, Alpine to 3.20.0 and to Go 1.22
alexellis May 31, 2024
3826262
Update transitive dependencies
alexellis Jun 17, 2024
32b4117
Dockerfile linting and alpine linux update
alexellis Jul 16, 2024
637b0b0
Updates to GitHub Actions versions
alexellis Jul 16, 2024
546bfee
Add User-Agent to Prometheus Queries
alexellis Aug 7, 2024
1379805
Switch to Default HTTP client for Prometheus queries
alexellis Aug 7, 2024
4e80b96
Set default user agent in proxy client
welteki Aug 6, 2024
37c02fd
Clarifications on what is included in OpenFaaS CE
alexellis Sep 17, 2024
cf8741a
Updates on CE README
alexellis Sep 17, 2024
49053fe
Clarify EULA applies to this project since 2019
alexellis Nov 18, 2024
cfcd4f0
Clarify EULA applies to this project since 2019
alexellis Nov 18, 2024
ab2c34b
Update vendor
alexellis Nov 18, 2024
2fb748e
Allow CE gateway to proxy telemetry handler from OEM/Pro backend
alexellis Nov 29, 2024
349c58e
EULA: Expiry of licence key invokes termination
alexellis Nov 29, 2024
4bd07e2
Update Go version to 1.23
alexellis Dec 9, 2024
4e20249
Remove armv7 from images
alexellis Dec 9, 2024
16834cc
Change to temporary redirect
alexellis Feb 26, 2025
b2a378f
EULA overrides any PO T&Cs
alexellis Mar 11, 2025
452fde0
Update the link to the api docs
warunsl Dec 31, 2023
bff2724
Remove duplicated section 5
alexellis Apr 22, 2025
7803ea1
Move contact info to 9
alexellis Apr 22, 2025
7db7133
Help users understand the terms of CE
alexellis Aug 29, 2025
7926181
Update Go to 1.24 and vendor for CE gateway
alexellis Aug 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
73 changes: 2 additions & 71 deletions .DEREK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,83 +2,14 @@ curators:
- alexellis
- LucasRoesler
- viveksyngh
- Waterdrips
- nitishkumar71
- rgee0
- welteki

features:
- dco_check
- comments
- pr_description_required
- release_notes
# - hacktoberfest
# - no_newbies # Newbies are welcome, however there is some automation that will affect you during October. You are welcome, please be patient with us.

contributing_url: https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md

required_in_issues:
- "## Expected Behaviour"
- "## Current Behaviour"
- "## Possible Solution"
- "## Steps to Reproduce (for bugs)"
- "## Context"
- "## Your Environment"

custom_messages:
- name: template
value: |
Thank you for your interest in the project.

By participating in the community, you are agreeing to follow the contribution guidelines.

This project uses templates for new Issues and Pull Requests. These templates contain information that the team needs you to provide, before they can help.

You are receiving this message because you chose to delete the template instead of filling it in as required by the project maintainers.

Please go ahead and edit this Issue or Pull Request and please provide all the fields that were requested. If it is simpler, you may open a new Issue or Pull Request or find the text within the `.github` folder in this repository.

- name: propose
value: |
This project follows a contributing guide which states that all
changes must be proposed with an Issue before being worked on.

Please raise an Issue and update your Pull Request to include
the ID or link as part of the description.

Thank you for your contribution.

- name: test
value: |
This project follows a contributing guide which requires that
all changes are tested before being merged. You should include
worked examples that a maintainer can run to prove that the
changes are good.

Screenshots and command line output are also accepted, but
must show the positive, and negative cases, not just that
what was added worked as you expected.

Thank you for your contribution.

- name: enduser
value: |
Thank you for your interest in OpenFaaS. This project is maintained and made available for hobbyists and commercial users alike, so we need to balance our time across everyone's needs. Whilst we are excited in your interest in using OpenFaaS, we would also ask you to take a look at our contribution guide on [Setting expectations, support and SLAs](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md#setting-expectations-support-and-slas).

Commercial users can purchase [support](https://openfaas.com/support) in order to get dedicated help from OpenFaaS Ltd, or they can book ad-hoc consulting hours to get an engineer to dedicate time to helping them.

If that is not a good fit for you at this time, please check out the OpenFaaS [GitHub Sponsors](https://github.com/sponsors/openfaas) options which are priced for practitioners like yourself. Organisations can also sponsor through their GitHub billing relationship.

When you become a sponsor as an indvidual, it will show this on your issues and PRs, so that the community can see that you are supporting our work, and can prioritise your needs.

If you are receiving this message after having received hands-on support from the OpenFaaS community, please join [GitHub Sponsors](https://github.com/sponsors/openfaas) to say thank you for our time.

Thank you for supporting OpenFaaS.

- name: service
value: |
We are glad that we could be of help with your usage of OpenFaaS.

Since OpenFaaS is maintained by a community of volunteers, we encourage all users to become individual [Sponsors on GitHub](https://github.com/sponsors/openfaas) for the OpenFaaS project.

As a benefit, you will show up as a Sponsor on future issues & PRs and also get access to a Sponsors Portal with curated updates across the 40-50 open source projects that we maintain for the community.

Thank you for supporting OpenFaaS.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@alexellis
@welteki
17 changes: 12 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
<!-- Due dilligence -->

## My actions before raising this issue
- [ ] Followed the [troubleshooting guide](https://docs.openfaas.com/deployment/troubleshooting/)
- [ ] Read/searched [the docs](https://docs.openfaas.com/)
- [ ] Searched [past issues](/issues)

<!--- Provide a general summary of the issue in the Title above -->
<!-- How is this affecting you? What task are you trying to accomplish? -->
## Why do you need this?

## Who is this for?

What company is this for? Are you listed in the [ADOPTERS.md](https://github.com/openfaas/faas/blob/master/ADOPTERS.md) file?

<!--- Provide a general summary of the issue in the Title above -->
## Expected Behaviour
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->
Expand All @@ -16,8 +21,9 @@
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->


## Are you a GitHub Sponsor (Yes/No?)
<!--- Given this request for help, how are you supporting the project? -->
<!-- Issues created by customers or monthly sponsors get priority -->

Check at: https://github.com/sponsors/openfaas
- [ ] Yes
Expand All @@ -31,6 +37,7 @@ Check at: https://github.com/sponsors/openfaas
## Which Solution Do You Recommend?
<!--- Pick your preferred solution, if you were to implement and maintain this change -->


## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
Expand All @@ -40,8 +47,7 @@ Check at: https://github.com/sponsors/openfaas
4.

## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
<!-- Any additional context such as how this is affecting you or could affect other users -->


## Your Environment
Expand All @@ -57,3 +63,4 @@ Check at: https://github.com/sponsors/openfaas
* Code example or link to GitHub repo or gist to reproduce problem:

* Other diagnostic information / logs from [troubleshooting guide](https://docs.openfaas.com/deployment/troubleshooting)

68 changes: 17 additions & 51 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,71 +9,37 @@ on:
- '*'

jobs:

build-gateway:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.15.x]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Get TAG
id: get_tag
run: echo ::set-output name=TAG::latest-dev
uses: docker/setup-buildx-action@v3

- name: Get git commit
id: get_git_commit
run: echo "GIT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Get version
id: get_version
run: echo "VERSION=$(git describe --tags --dirty)" >> $GITHUB_ENV
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
run: echo "REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" > $GITHUB_ENV

- name: Build ${{ matrix.svc }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ./gateway
file: ./gateway/Dockerfile
outputs: "type=image,push=false"
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64
build-args: |
VERSION=${{ steps.get_tag.outputs.TAG }}
VERSION=${{ env.TAG }}
GIT_COMMIT=${{ github.sha }}
tags: |
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:${{ steps.get_tag.outputs.TAG }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:${{ github.sha }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:latest

build-auth-plugins:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.13.x]
svc: [
basic-auth
]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Get TAG
id: get_tag
run: echo ::set-output name=TAG::latest-dev
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
- name: Build ${{ matrix.svc }}
uses: docker/build-push-action@v2
with:
context: ./auth/${{ matrix.svc }}
file: ./auth/${{ matrix.svc }}/Dockerfile
outputs: "type=image,push=false"
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/${{ matrix.svc }}:${{ steps.get_tag.outputs.TAG }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/${{ matrix.svc }}:${{ github.sha }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/${{ matrix.svc }}:latest
ghcr.io/${{ env.REPO_OWNER }}/gateway:${{ github.sha }}
ghcr.io/${{ env.REPO_OWNER }}/gateway:latest
87 changes: 31 additions & 56 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,82 +6,57 @@ on:
- '*'

jobs:

publish-gateway:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.15.x]
permissions:
actions: read
checks: write
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read

steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to Docker Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io

- name: Get TAG
id: get_tag
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
run: echo TAG=${GITHUB_REF#refs/tags/} >> $GITHUB_ENV

- name: Get git commit
id: get_git_commit
run: echo "GIT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Get version
id: get_version
run: echo "VERSION=$(git describe --tags --dirty)" >> $GITHUB_ENV
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
run: echo "REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" > $GITHUB_ENV

- name: Publish ${{ matrix.svc }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ./gateway
file: ./gateway/Dockerfile
outputs: "type=registry,push=true"
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64
build-args: |
VERSION=${{ steps.get_tag.outputs.TAG }}
VERSION=${{ env.TAG }}
GIT_COMMIT=${{ github.sha }}
tags: |
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:${{ steps.get_tag.outputs.TAG }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:${{ github.sha }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:latest
publish-auth-plugins:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.13.x]
svc: [
basic-auth
]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Get TAG
id: get_tag
run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Login to Docker Registry
uses: docker/login-action@v1
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: ghcr.io
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
- name: Publish ${{ matrix.svc }}
uses: docker/build-push-action@v2
with:
context: ./auth/${{ matrix.svc }}
file: ./auth/${{ matrix.svc }}/Dockerfile
outputs: "type=registry,push=true"
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/${{ matrix.svc }}:${{ steps.get_tag.outputs.TAG }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/${{ matrix.svc }}:${{ github.sha }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/${{ matrix.svc }}:latest
ghcr.io/${{ env.REPO_OWNER }}/gateway:${{ github.sha }}
ghcr.io/${{ env.REPO_OWNER }}/gateway:${{ env.TAG }}
ghcr.io/${{ env.REPO_OWNER }}/gateway:latest
Loading