Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

feat: Add login subcommand #192

feat: Add login subcommand

feat: Add login subcommand #192

Workflow file for this run

name: Release
on:
push:
jobs:
build:
uses: riotkit-org/.github/.github/workflows/build.go.yaml@release-1
with:
binaryName: backup-maker
sonarCloudEnabled: true
testReportEnabled: true
coverageReportEnabled: false
secrets:
SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}"
release-binary:
needs: ["build"]
uses: riotkit-org/.github/.github/workflows/release.binary.yaml@release-1
with:
binaryName: backup-maker
intermediateArtifactsPath: ".build/"
release-container:
needs: ["build"]
uses: riotkit-org/.github/.github/workflows/release.container.yaml@release-1
with:
dockerImage: ghcr.io/riotkit-org/br-backup-maker
intermediateArtifactsPath: ".build/"
# -----------------------------------------------------------------------
# Bumps br-backup-maker dependency in backup-maker-controller repository
# So the most recent version of backup-maker-controller will use the most
# recent version of br-backup-maker
# -----------------------------------------------------------------------
bump-operator:
needs: ["build"]
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/main'
steps:
- name: Bump dependency in backup-maker operator repository
uses: convictional/[email protected]
with:
owner: riotkit-org
repo: backup-maker-operator
github_token: ${{ secrets.GH_RW_TOKEN }}
github_user: blackandred
workflow_file_name: bump-backup-maker.yaml
ref: main
wait_interval: 5
client_payload: '{"revision": "${{ github.sha }}", "dependencyName": "github.com/riotkit-org/br-backup-maker", "targetBranch": "main"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true