Skip to content

Api

Api #96

Workflow file for this run

name: Api
on:
push:
branches: [ "master" ]
paths:
- 'src/Argon.Api/**'
- 'src/Argon.Grains/**'
- 'src/Argon.Grains.Interfaces/**'
- 'src/ServiceDefaults/**'
pull_request:
branches: [ "master" ]
paths:
- 'src/Argon.Api/**'
- 'src/ServiceDefaults/**'
workflow_dispatch:
jobs:
qa:
uses: ./.github/workflows/tests.yml
build:
needs: [ qa ]
if: github.ref == 'refs/heads/master'
runs-on: ARM64
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
with:
registry: ${{ secrets.REGISTRY }}
username: ${{ secrets.CR_USER }}
password: ${{ secrets.CR_PWD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./src/Argon.Api/Dockerfile
push: true
tags: reg.staging.svck.dev/argon/api-orleans:${{ github.run_number }}