Skip to content

fix(web): password input type + ci reusable workflow + multi-arch images #4

fix(web): password input type + ci reusable workflow + multi-arch images

fix(web): password input type + ci reusable workflow + multi-arch images #4

Workflow file for this run

name: Apps / Relay
on:
pull_request:
branches: ["*"]
paths:
- apps/relay/**
- .github/workflows/apps-relay.yaml
push:
branches: ["main"]
paths:
- apps/relay/**
- .github/workflows/apps-relay.yaml
jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
defaults:
run:
working-directory: apps/relay
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.25"
- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Run tests with coverage
run: go test -race ./...
build:

Check failure on line 50 in .github/workflows/apps-relay.yaml

View workflow run for this annotation

GitHub Actions / Apps / Relay

Invalid workflow file

The workflow is not valid. .github/workflows/apps-relay.yaml (Line: 50, Col: 3): Error calling workflow 'ctrlplanedev/ctrlplane/.github/workflows/build-image.yaml@a1668c07399063e43d214c23d9c0413e52c9f44f'. The nested job 'build' is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/build-image.yaml
secrets: inherit
with:
image-name: ctrlplane/relay
dockerfile: apps/relay/Dockerfile
context: apps/relay