Skip to content

Merge pull request #50 from argon-chat/minirefactor #46

Merge pull request #50 from argon-chat/minirefactor

Merge pull request #50 from argon-chat/minirefactor #46

Workflow file for this run

name: Production
on:
push:
branches: [ "master" ]
paths:

Check failure on line 6 in .github/workflows/production.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/production.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
- '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 }}