Skip to content

Commit 2381923

Browse files
committed
changes: added workflow
2 parents 86537cc + 476b221 commit 2381923

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
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)