This commit is contained in:
nomadics9 2024-12-15 03:44:17 +03:00
parent 32b02afb1e
commit 8b642c5a21

View file

@ -13,7 +13,7 @@ jobs:
steps: steps:
# Step 1: Check out the repository # Step 1: Check out the repository
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
# Step 2: Log in to Docker Hub # Step 2: Log in to Docker Hub
- name: Log in to Docker Hub - name: Log in to Docker Hub
@ -25,7 +25,8 @@ jobs:
# Step 3: Build the Docker image # Step 3: Build the Docker image
- name: Build Docker Image - name: Build Docker Image
run: | 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 # Step 4: Push the Docker image to Docker Hub
# - name: Push Docker Image # - name: Push Docker Image