This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
082b4eb
commit 4d3069b
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters