Skip to content

Remove redundant qualifier #24

Remove redundant qualifier

Remove redundant qualifier #24

Workflow file for this run

name: Ktisis Beta
on:
push:
branches:
- beta
paths:
- Ktisis.Common/**
- Ktisis.Receiver/**
- Ktisis.Processor/**
- npins/*
pull_request:
branches:
- main
paths:
- Ktisis.Common/**
- Ktisis.Receiver/**
- Ktisis.Processor/**
- npins/*
workflow_dispatch:
jobs:
Deploy:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
with:
source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux
diagnostic-endpoint: ""
- uses: cachix/cachix-action@v15
with:
name: drakon64-ktisis
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix-build Ktisis.Processor/docker.nix Ktisis.Receiver/docker.nix
- run: |
docker load < result
docker load < result-2
- run: |
docker tag ktisis-receiver:latest ${{ secrets.GOOGLE_ARTIFACT_REGISTRY }}/ktisis-receiver:beta
docker tag ktisis-processor:latest ${{ secrets.GOOGLE_ARTIFACT_REGISTRY }}/ktisis-processor:beta
- uses: google-github-actions/auth@v2
with:
project_id: ${{ secrets.GOOGLE_PROJECT_ID_BETA }}
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }}
- uses: google-github-actions/setup-gcloud@v2
- run: gcloud auth configure-docker ${{ vars.GOOGLE_REGION }}-docker.pkg.dev
- run: |
docker push ${{ secrets.GOOGLE_ARTIFACT_REGISTRY }}/ktisis-receiver:beta
docker push ${{ secrets.GOOGLE_ARTIFACT_REGISTRY }}/ktisis-processor:beta
- uses: google-github-actions/deploy-cloudrun@v2
with:
service: ktisis-receiver
image: ${{ secrets.GOOGLE_ARTIFACT_REGISTRY }}/ktisis-receiver:beta
project_id: ${{ secrets.GOOGLE_PROJECT_ID_BETA }}
region: ${{ vars.GOOGLE_REGION }}
- uses: google-github-actions/deploy-cloudrun@v2
with:
service: ktisis-processor
image: ${{ secrets.GOOGLE_ARTIFACT_REGISTRY }}/ktisis-processor:beta
project_id: ${{ secrets.GOOGLE_PROJECT_ID_BETA }}
region: ${{ vars.GOOGLE_REGION }}