Skip to content

Merge pull request #2 from terminalx-resonite/fix/deploy-yaml #2

Merge pull request #2 from terminalx-resonite/fix/deploy-yaml

Merge pull request #2 from terminalx-resonite/fix/deploy-yaml #2

Workflow file for this run

name: Build and Push Domain Server Images
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: [self-hosted, linux, podman, docker]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/#-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build server runtime with compiled binaries
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.build
push: true
tags: ghcr.io/${{ github.repository }}/domain-server-builder:latest
- name: Build server runtime with compiled binaries
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.runtime
push: true
tags: ghcr.io/${{ github.repository }}/domain-server:latest