Skip to content

feat: implementing secret retrieval from connections-api (#206) #24

feat: implementing secret retrieval from connections-api (#206)

feat: implementing secret retrieval from connections-api (#206) #24

on:
push:
branches:
- main
tags:
- "[0-9]+.[0-9]+.[0-9]+"
paths:
- .github/workflows/build-database.yaml
- "integrationos-domain/**"
- "integrationos-database/**"
- Cargo.lock
- Dockerfile.common
- integrationos-database/Dockerfile
env:
docker_image_tag: ${{ github.ref == 'refs/heads/main' && github.sha || github.ref_name }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: integration-os/google-artifact-registry-action@v2
with:
image: "us-docker.pkg.dev/integrationos/docker-oss/database:${{ env.docker_image_tag }}"
service_account: [email protected]
workload_identity_provider: projects/356173785332/locations/global/workloadIdentityPools/github-actions/providers/github-actions
file: integrationos-database/Dockerfile
context: .
build-args: |
"EXECUTABLE=integrationos-database"