Skip to content

Commit 476b221

Browse files
authored
Update Docker workflow to build multiple images
1 parent 1319e69 commit 476b221

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
1110
build:
12-
1311
runs-on: ubuntu-latest
1412

1513
steps:
1614
- uses: actions/checkout@v4
17-
- name: Build the Docker image
18-
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
15+
16+
- name: Build the Bot image
17+
run: docker build . --file src/LinkTracker.Bot/Dockerfile --tag linktracker-bot:$(date +%s)
18+
19+
- name: Build the Scrapper image
20+
run: docker build . --file src/LinkTracker.Scrapper/Dockerfile --tag linktracker-scrapper:$(date +%s)

0 commit comments

Comments
 (0)