Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 082b4eb

Browse files
committed
Publish docker image
1 parent e0aff1c commit 082b4eb

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/dockerimage.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@ jobs:
88

99
runs-on: ubuntu-latest
1010

11+
on:
12+
push:
13+
branches:
14+
- master
15+
1116
steps:
12-
- uses: actions/checkout@v1
13-
- name: Build the Docker image
14-
run: docker build . --file Dockerfile --tag omniscrapper/omniscrapper_hq:$(date +%s)
17+
- uses: actions/checkout@v1
18+
- name: Build the Docker image
19+
run: docker build . --file Dockerfile --tag omniscrapper/omniscrapper_hq:latest
20+
- name: Push docker image
21+
run: docker push docker.pkg.github.com/omniscrapper/omniscrapper_hq:latest
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)