Skip to content

fix(deps): update module github.com/heathcliff26/promremote to v1.0.5 #112

fix(deps): update module github.com/heathcliff26/promremote to v1.0.5

fix(deps): update module github.com/heathcliff26/promremote to v1.0.5 #112

Workflow file for this run

---
name: CI
on:
workflow_dispatch:
inputs:
tag:
description: "Use to set tag, default: rolling"
type: string
default: "rolling"
required: false
dry-run:
description: "Do not push image"
type: boolean
default: false
required: false
latest:
description: "Tag latest"
type: boolean
default: false
required: false
push:
branches: ["main"]
paths:
- "go.mod"
- "go.sum"
- "*.go"
- "**/*.go"
- "Dockerfile"
- "Dockerfile.cli"
pull_request:
branches: ["main"]
merge_group:
branches: ["main"]
jobs:
lint:
uses: heathcliff26/ci/.github/workflows/golang-lint.yaml@main
unit-tests:
uses: heathcliff26/ci/.github/workflows/golang-unit-tests.yaml@main
build-slim:
uses: heathcliff26/ci/.github/workflows/build-container.yaml@main
needs:
- lint
- unit-tests
permissions:
contents: read
packages: write
with:
dockerfile: Dockerfile
tag: "${{ inputs.tag == 'rolling' && 'slim' || inputs.tag == '' && 'slim' || inputs.tag }}"
tags: "${{ inputs.latest == true && 'type=raw,value=latest' || '' }}"
dry-run: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' || inputs.dry-run == 'true' }}
build-args: "RELEASE_VERSION=${{ inputs.tag == '' && 'rolling' || inputs.tag }}"
secrets: inherit
build-cli:
uses: heathcliff26/ci/.github/workflows/build-container.yaml@main
needs:
- lint
- unit-tests
permissions:
contents: read
packages: write
with:
dockerfile: Dockerfile.cli
tag: "${{ inputs.tag == 'rolling' && 'cli' || inputs.tag == '' && 'cli' || inputs.tag }}${{ inputs.tag != 'rolling' && inputs.tag != '' && '-cli' || '' }}"
tags: ""
dry-run: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' || inputs.dry-run == 'true' }}
build-args: "RELEASE_VERSION=${{ inputs.tag == '' && 'rolling' || inputs.tag }}"
secrets: inherit