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

Commit

Permalink
Fix docker action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehonoshin committed Nov 17, 2019
1 parent 082b4eb commit 4d3069b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: Docker Image CI

on: [push]
on:
push:
branches:
- master

jobs:

build:

runs-on: ubuntu-latest

on:
push:
branches:
- master

steps:
- uses: actions/checkout@v1

- name: Build the Docker image
run: docker build . --file Dockerfile --tag omniscrapper/omniscrapper_hq:latest
run: docker build . --file Dockerfile --tag docker.pkg.github.com/omniscrapper/omniscrapper_hq:latest

- name: Sign in to Github Registry
run: docker login docker.pkg.github.com --username Mehonoshin -p ${{ secrets.GITHUB_TOKEN }}

- name: Push docker image
run: docker push docker.pkg.github.com/omniscrapper/omniscrapper_hq:latest
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OmniScrapper HQ

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

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

Expand Down

0 comments on commit 4d3069b

Please sign in to comment.