Skip to content

fixed the Railway deployment failing #72

fixed the Railway deployment failing

fixed the Railway deployment failing #72

name: Publish Docker Image
on:
push:
branches:
- main
permissions:
contents: read
packages: write
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: ./backend
push: true
tags: |
ghcr.io/emdevelopa/stellar_payment_api:latest
ghcr.io/emdevelopa/stellar_payment_api:${{ github.sha }}