Skip to content

Commit 37c4b3d

Browse files
authored
Merge pull request #94 from diffix/daniel/github-workflow
Try adding a github workflow to publish releases.
2 parents 8a3fbc7 + 18f529d commit 37c4b3d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish Docker image
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
push_to_registry:
7+
name: Push Docker image to GitHub Packages
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out the repo
11+
uses: actions/checkout@v2
12+
- name: Push to GitHub Packages
13+
uses: docker/build-push-action@v1
14+
with:
15+
username: ${{ github.actor }}
16+
password: ${{ secrets.GITHUB_TOKEN }}
17+
registry: docker.pkg.github.com
18+
repository: https://github.com/diffix/explorer/explorer-api
19+

0 commit comments

Comments
 (0)