Skip to content

fix: lambda functions for tests #53

fix: lambda functions for tests

fix: lambda functions for tests #53

Workflow file for this run

name: Build and push texas
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
GOOGLE_REGISTRY: europe-north1-docker.pkg.dev
GITHUB_REGISTRY: ghcr.io
jobs:
build:
name: Publish to Google and GitHub registries
if: github.ref == 'refs/heads/master'
permissions:
contents: "read"
id-token: "write"
packages: "write"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose --features docker
- uses: nais/platform-build-push-sign@main
id: build_push_sign
with:
name: texas
dockerfile: Dockerfile
google_service_account: gh-texas
push: true
push_ghcr: true
multi-platform: 'true'
workload_identity_provider: ${{ secrets.NAIS_IO_WORKLOAD_IDENTITY_PROVIDER }}