Skip to content

v0.11.4

v0.11.4 #15

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # 1.11.6
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e # 8.0.0
with:
verb: call
args: "release-server --tag=$TAG --registry=ghcr.io --image-name=$IMAGE_NAME --username=$REGISTRY_USERNAME --password=env://REGISTRY_PASSWORD"
env:
IMAGE_NAME: ${{ github.repository }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
REGISTRY_USERNAME: ${{ github.repository_owner }}
TAG: ${{ github.event.release.tag_name }}
- uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e # 8.0.0
with:
verb: call
args: "release-cli --tag=$TAG --token=env://TOKEN"
env:
TAG: ${{ github.event.release.tag_name }}
TOKEN: ${{ steps.app-token.outputs.token }}