Skip to content

Commit

Permalink
New docker flow
Browse files Browse the repository at this point in the history
  • Loading branch information
SophiaH67 committed Dec 23, 2023
1 parent 69fc785 commit 1cf9d6a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 59 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Backend Docker Image CI

on:
push:
branches: ["refactor/monorepo"]
pull_request:
branches: ["refactor/monorepo"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file packages/backend/Dockerfile --tag ghcr.io/sophiah67/xi-jinping-bot:backend
- name: Push the Docker image
run: docker push ghcr.io/sophiah67/xi-jinping-bot:backend
59 changes: 0 additions & 59 deletions .github/workflows/docker-image.yml

This file was deleted.

0 comments on commit 1cf9d6a

Please sign in to comment.