Skip to content

mobile: push WIP image implementation #16

mobile: push WIP image implementation

mobile: push WIP image implementation #16

name: Build backend Docker image
on:
push:
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