Skip to content

Update watchdogs for function authentication #53

Update watchdogs for function authentication

Update watchdogs for function authentication #53

Workflow file for this run

name: build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
packages: write
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Get faas-cli
run: curl -sLSf https://cli.openfaas.com | sudo sh
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get Repo Owner
id: get_repo_owner
run: echo "REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" > $GITHUB_ENV
- name: Build multi-arch functions
run: >
OWNER="${{ env.REPO_OWNER }}"
TAG="latest"
SERVER="ghcr.io"
faas-cli build
--build-arg GO111MODULE=on
-f stack.yml
- name: Build amd64-only functions
run: >
OWNER="${{ env.REPO_OWNER }}"
TAG="latest"
SERVER="ghcr.io"
faas-cli build
-f stack-amd64.yml