Skip to content

Merge pull request #2 from thin-edge/chore-env-syntax #1

Merge pull request #2 from thin-edge/chore-env-syntax

Merge pull request #2 from thin-edge/chore-env-syntax #1

Workflow file for this run

name: Publish
on:
workflow_dispatch:
inputs:
VERSION:
description: "Version"
type: string
default: ""
push:
tags:
- "*"
jobs:
push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: taiki-e/install-action@just
- name: Publish images
run: just build registry ${{ inputs.VERSION || github.ref_name }}