Skip to content

Commit

Permalink
github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
monoxane committed Mar 12, 2023
1 parent e144f6c commit 30529e5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Release

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Auth GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build OCI Imaage
run: docker build . --tag ghcr.io/monoxane/rtr:${{ github.event.release.tag_name }}
- name: Push OCI Imaage
run: docker push ghcr.io/monoxane/rtr:${{ github.event.release.tag_name }}

0 comments on commit 30529e5

Please sign in to comment.