Skip to content

Commit

Permalink
ci: Add rofl-containers release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Jan 10, 2025
1 parent 32ebd3c commit a9a712c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release-rofl-containers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: release-rofl-containers

on:
push:
tags:
- 'rofl-containers/v[0-9]+.[0-9]+*'

permissions:
contents: write

jobs:
release-rofl-containers:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build rofl-containers
id: build
uses: oasisprotocol/oasis-sdk/.github/actions/hash-rust@main
with:
image: ghcr.io/oasisprotocol/runtime-builder:main
pkg-dirs: rofl-containers
binaries: rofl-containers
clean: no

- name: Publish the release
uses: ncipollo/release-action@v1
with:
artifacts: ${{ github.workspace }}/${{ steps.build.outputs.build-path }}/rofl-containers
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a9a712c

Please sign in to comment.