Skip to content

Commit

Permalink
Merge pull request #9 from kitspace/publish-docker-image-action
Browse files Browse the repository at this point in the history
Create publish-docker-image.yml
  • Loading branch information
AbdulrhmnGhanem authored Dec 23, 2020
2 parents bfb4042 + ecc59d9 commit a22927a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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: Kitspace/gitea/gitea-image
tag_with_ref: true

0 comments on commit a22927a

Please sign in to comment.