Skip to content

Commit 30529e5

Browse files
committed
github workflows
1 parent e144f6c commit 30529e5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Auth GHCR
14+
uses: docker/login-action@v1
15+
with:
16+
registry: ghcr.io
17+
username: ${{ github.actor }}
18+
password: ${{ secrets.GITHUB_TOKEN }}
19+
- name: Build OCI Imaage
20+
run: docker build . --tag ghcr.io/monoxane/rtr:${{ github.event.release.tag_name }}
21+
- name: Push OCI Imaage
22+
run: docker push ghcr.io/monoxane/rtr:${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)