Skip to content

build(deps): bump actions/labeler from 4 to 5 #106

build(deps): bump actions/labeler from 4 to 5

build(deps): bump actions/labeler from 4 to 5 #106

Workflow file for this run

---
name: Build and Optionally Release
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Setup buildx
uses: docker/setup-buildx-action@v3
- name: Build Only
uses: docker/bake-action@v4
with:
files: |
./docker-bake.hcl
- name: Release
id: release
uses: ahmadnassri/action-semantic-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Log in to the Container registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Push
if: steps['release']['outputs']['published'] == 'true'
uses: docker/bake-action@v4
env:
TAG: ${{steps.release.outputs.release-version}}
with:
push: 'true'