Skip to content

Commit

Permalink
try to build and push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
tdx committed Nov 16, 2020
1 parent 17b676d commit 164c7f6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pub_on_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Docker image
on:
release:
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: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: tdx/rkv/rkvd
tag_with_ref: true

0 comments on commit 164c7f6

Please sign in to comment.