Skip to content

Update Dockerfile references to use "Argon.Shared.csproj" instead of … #129

Update Dockerfile references to use "Argon.Shared.csproj" instead of …

Update Dockerfile references to use "Argon.Shared.csproj" instead of … #129

Workflow file for this run

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 }}