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

Commit bed5c11

Browse files
committed
Fix docker action
1 parent 082b4eb commit bed5c11

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/dockerimage.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
name: Docker Image CI
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- master
47

58
jobs:
69

710
build:
811

912
runs-on: ubuntu-latest
1013

11-
on:
12-
push:
13-
branches:
14-
- master
15-
1614
steps:
1715
- uses: actions/checkout@v1
16+
1817
- name: Build the Docker image
19-
run: docker build . --file Dockerfile --tag omniscrapper/omniscrapper_hq:latest
18+
run: docker build . --file Dockerfile --tag docker.pkg.github.com/omniscrapper/omniscrapper_hq/web:latest
19+
20+
- name: Sign in to Github Registry
21+
run: docker login docker.pkg.github.com --username Mehonoshin -p ${{ secrets.GITHUB_TOKEN }}
22+
2023
- name: Push docker image
21-
run: docker push docker.pkg.github.com/omniscrapper/omniscrapper_hq:latest
22-
with:
23-
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
run: docker push docker.pkg.github.com/omniscrapper/omniscrapper_hq/web:latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OmniScrapper HQ
22

3-
[![CircleCI](https://circleci.com/gh/omniscrapper/omniscrapper_hq/tree/master.svg?style=svg)](https://circleci.com/gh/omniscrapper/omniscrapper_hq/tree/master)
3+
![](https://github.com/omniscrapper/omniscrapper_hq/workflows/.github/workflows/dockerimage.yml/badge.svg)
44

55
<img src="https://i.imgur.com/8r3Sb82.png" width="300" height="300">
66

0 commit comments

Comments
 (0)