Skip to content

chore(deps): update actions/setup-java action to v4.5.0 #1213

chore(deps): update actions/setup-java action to v4.5.0

chore(deps): update actions/setup-java action to v4.5.0 #1213

Workflow file for this run

name: πŸ—οΈ Build
on:
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
IMAGE_NAME: vcspeaker.kt
jobs:
bump-version:
name: πŸ”Ό Bump version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.new_version }}
tag: ${{ steps.version.outputs.new_tag }}
changelog: ${{ steps.version.outputs.changelog }}
steps:
- name: πŸ”Ό Bump release version
id: version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ github.token }}
default_bump: "minor"
custom_release_rules: "breaking:major:πŸ’£ Breaking Changes,feat:minor:✨ Features,fix:patch:πŸ’£ Bug Fixes,docs:patch:πŸ“° Docs,chore:patch:🎨 Chore,pref:patch:🎈 Performance improvements,refactor:patch:🧹 Refactoring,build:patch:πŸ” Build,ci:patch:πŸ” CI,revert:patch:βͺ Revert,style:patch:🧹 Style,test:patch:πŸ‘€ Test"
dry_run: true
build-docker:
name: πŸ—οΈ Build Docker (${{ matrix.architecture }})
runs-on: ubuntu-latest
needs: bump-version
strategy:
fail-fast: false
matrix:
architecture: [ amd64, arm64 ]
steps:
- name: πŸ“₯ Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: πŸ‹ Setup QEMU
uses: docker/setup-qemu-action@v3
- name: πŸ—οΈ Set up 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.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: πŸ“ Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ needs.bump-version.outputs.version }}-${{ matrix.architecture }}
type=raw,value=latest-${{ matrix.architecture }}
- name: πŸš€ Build Docker image
id: build
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: false
platforms: linux/${{ matrix.architecture }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false