Skip to content

release

release #8

Workflow file for this run

name: release
on:
workflow_dispatch:
inputs:
image:
description: 'Image to release'
required: true
type: choice
options:
- kine
- zig
permissions:
contents: write
packages: write
jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@v3
- id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/anza-labs/library/${{ inputs.image }}
tags: |
type=semver,pattern={{version}}
- run: echo "$(cat ${{ steps.meta.outputs.bake-file }})" >> $GITHUB_STEP_SUMMARY
# - id: buildx
# uses: docker/setup-buildx-action@v3
# - uses: docker/bake-action@v6
# with:
# builder: ${{ steps.buildx.outputs.name }}
# push: false
# files: |
# ./library/${{ inputs.image }}/docker-bake.hcl
# cwd://${{ steps.meta.outputs.bake-file }}
# targets: build