Fix branch name and build number

This commit is contained in:
SebClem 2024-08-26 15:58:25 +02:00
parent cf0a6e0137
commit c8a0864fdd
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 5 additions and 5 deletions

View File

@ -120,7 +120,7 @@ jobs:
images: |
${{env.REPOSITORY}}/${{env.IMAGE}}/${{matrix.arch}}
tags: |
type=ref,event=branch
type=ref,event=branch,suffix=.${{ github.run_number }}
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}

View File

@ -46,7 +46,7 @@ jobs:
with:
valueFile: 'repository/nextcloud_backup/config.yml'
propertyPath: 'version'
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number}}
commitChange: false
- name: Create pull request
@ -54,7 +54,7 @@ jobs:
with:
token: ${{ secrets.PAT_PR }}
path: "repository"
commit-message: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}"
branch: "update/Nextcloud Backup/${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}"
commit-message: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"
branch: "update/bextcloud_backup/${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"
base: "${{ steps.branch-names.outputs.current_branch }}"
title: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}"
title: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"