Skip to content

Revert "backend: dev_api_response: remove warning message" #468

Revert "backend: dev_api_response: remove warning message"

Revert "backend: dev_api_response: remove warning message" #468

name: Build backend Docker image
on:
push:
branches: [main, master]
paths:
- backend/**
permissions:
packages: write
contents: read
jobs:
build-server:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Packages
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./backend
push: true
tags: ghcr.io/purdue-cs307-tsundoku/tsundoku-backend:latest
build-args: |
BRANCH=latest
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}