Skip to content

Merge pull request #117 from ironbeer/feat/release-dev #4

Merge pull request #117 from ironbeer/feat/release-dev

Merge pull request #117 from ironbeer/feat/release-dev #4

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- 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 }}
- name: Build and Push
uses: docker/bake-action@v4
env:
REGISTRY: ghcr.io
REPOSITORY: ${{ github.repository }}
GIT_COMMIT: ${{ github.sha }}
GIT_VERSION: ${{ github.ref_name }}
GIT_BUILDNUM: ${{ github.run_id }}
IMAGE_TAGS: ${{ github.ref_name }}
with:
files: docker-bake.hcl
set: '*.platform=linux/amd64,linux/arm64'
push: true