Extended server methods #131
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Production | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- 'src/**/**' | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- 'src/**/**' | |
workflow_dispatch: | |
jobs: | |
qa: | |
uses: ./.github/workflows/tests.yml | |
build: | |
needs: [ qa ] | |
if: github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
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: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.ARGON_GHCR_PAT }} | |
- name: Build and push api | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
file: ./src/Argon.Api/Dockerfile | |
push: true | |
tags: ghcr.io/argon-chat/orleans:${{ github.run_number }} | |
- name: Build and push contracts | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
file: ./src/Argon.Entry/Dockerfile | |
push: true | |
tags: ghcr.io/argon-chat/entry:${{ github.run_number }} |