Skip to content

Commit

Permalink
feat: add pacakge ci
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-du committed Jan 16, 2021
1 parent 4332902 commit 3c525bb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Package
on:
release:
branches: [ main ]
types: [ published ]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
with:
username: francis-du
password: ${{ secrets.DEPLOY_KEY }}
registry: docker.pkg.github.com
repository: francis-du/wiki-graph/wiki-graph
tag_with_ref: true

0 comments on commit 3c525bb

Please sign in to comment.