From 23bfdc5357c06794a38329aa4cb4d5022d7873b6 Mon Sep 17 00:00:00 2001 From: sophia Date: Tue, 31 Dec 2024 11:44:13 -0800 Subject: [PATCH] Add workflow to build docker image --- .github/workflows/build-docker-image.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build-docker-image.yml diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml new file mode 100644 index 00000000..6e44aebe --- /dev/null +++ b/.github/workflows/build-docker-image.yml @@ -0,0 +1,22 @@ +name: Build Docker image + +on: + pull_request: + +jobs: + build_docker_image: + name: "Build Docker Images 🛠" + runs-on: ubuntu-latest + steps: + - name: "Checkout Repository 🛎" + uses: actions/checkout@v4 + + - name: "Set up Docker Buildx 🏗" + uses: docker/setup-buildx-action@v3 + + - name: "Build Docker image 🚀" + uses: docker/build-push-action@v5 + with: + context: . + target: "prod" + push: false