From 8b642c5a217ead4e3b0321ecdce8976d2f50dec3 Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Sun, 15 Dec 2024 03:44:17 +0300 Subject: [PATCH] workflow --- .github/workflows/docker-build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5041b13..8b78964 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -13,7 +13,7 @@ jobs: steps: # Step 1: Check out the repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Step 2: Log in to Docker Hub - name: Log in to Docker Hub @@ -25,7 +25,8 @@ jobs: # Step 3: Build the Docker image - name: Build Docker Image run: | - docker build -t nomadics/alaskarfin:latest ../../alaskarfin/ + docker build alaskarfin -t nomadics/alaskarfin:latest -f alaskarfin/ + # Step 4: Push the Docker image to Docker Hub # - name: Push Docker Image