Skip to content

chore: Dockerize backend (#39) #1

chore: Dockerize backend (#39)

chore: Dockerize backend (#39) #1

Workflow file for this run

name: Backend
on:
workflow_dispatch: {}
push:
branches:
- "main"
paths:
- ".github/workflows/backend.yml"
- "backend/*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.backend
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/txpipe/asteria-backend:${{ github.sha }}