Skip to content

Commit dfbc570

Browse files
Add release workflow
1 parent 469cf64 commit dfbc570

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)