workflow
This commit is contained in:
parent
32b02afb1e
commit
8b642c5a21
1 changed files with 3 additions and 2 deletions
5
.github/workflows/docker-build.yml
vendored
5
.github/workflows/docker-build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue