From 60be1b87fd05ea04b4e6cf7c334274932cf0d306 Mon Sep 17 00:00:00 2001 From: itstimetoforget Date: Tue, 30 Apr 2024 23:54:41 +0200 Subject: [PATCH] init github-action --- .../build_and_push_docker_images.yml | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_and_push_docker_images.yml b/.github/workflows/build_and_push_docker_images.yml index f206575..1081fa1 100644 --- a/.github/workflows/build_and_push_docker_images.yml +++ b/.github/workflows/build_and_push_docker_images.yml @@ -5,11 +5,11 @@ on: branches: [ "master" ] jobs: -# Frontend: -# name: Push Frontend Image -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v4 + # Frontend: + # name: Push Frontend Image + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 Backend: name: Push Backend Image @@ -21,10 +21,12 @@ jobs: uses: docker/login-action@v3 - name: metadata id: meta - uses: ocker/metadata-action@v5 + uses: docker/metadata-action@v5 with: images: ccm-mgmt/backend - name: Build and Push - uses: docker/build-push-action@v5 - context: . - file: . \ No newline at end of file + uses: docker/build-push-action@ + with: + context: . + file: docker/backend/Dockerfile + push: true \ No newline at end of file