Skip to content

chore(deps): bump path-to-regexp from 6.2.2 to 6.3.0 #317

chore(deps): bump path-to-regexp from 6.2.2 to 6.3.0

chore(deps): bump path-to-regexp from 6.2.2 to 6.3.0 #317

Workflow file for this run

name: Release
on:
pull_request_target:
types: [closed]
workflow_dispatch:
inputs:
releaseType:
description: 'Release type'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major
jobs:
release_job:
uses: bedita/github-workflows/.github/workflows/release.yml@v2
with:
main_branch: 'master'
dist_branches: '["master", "3.x"]'
version_bump: ${{ inputs.releaseType }}
version_ini_path: config/version.ini
version_ini_prefix: "[Manager]\nversion="
package_json_version: true
docker_push:
runs-on: 'ubuntu-latest'
needs: release_job
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Debug output version
run: |
echo version var ${{ needs.release_job.outputs.version }}
- name: Print message if no semantic version was created
if: contains(needs.release_job.outputs.version, 'undefined')
run: |
echo Skip version file update and docker image creation
- name: Update version file
if: ${{ !contains(needs.release_job.outputs.version, 'undefined') }}
run: |
echo -e "[Manager]\nversion = ${{ needs.release_job.outputs.version }}" > config/version.ini
- name: Set up QEMU
if: ${{ !contains(needs.release_job.outputs.version, 'undefined') }}
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
if: ${{ !contains(needs.release_job.outputs.version, 'undefined') }}
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
if: ${{ !contains(needs.release_job.outputs.version, 'undefined') }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
if: ${{ !contains(needs.release_job.outputs.version, 'undefined') }}
with:
context: .
push: true
tags: "${{ github.repository }}:${{ needs.release_job.outputs.version }},${{ github.repository }}:${{ needs.release_job.outputs.major }}"