Skip to content

Merge pull request #4653 from opsmill/wvd-20241017-release #27

Merge pull request #4653 from opsmill/wvd-20241017-release

Merge pull request #4653 from opsmill/wvd-20241017-release #27

Workflow file for this run

---
# yamllint disable rule:truthy
name: New Release
on:
push:
tags:
- 'infrahub-v*'
- '!infrahub-v*-*'
jobs:
meta_data:
runs-on: ubuntu-22.04
outputs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
steps:
- name: Set docker image metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ vars.HARBOR_HOST }}/${{ github.repository }}
tags: |
type=match,pattern=infrahub-v(\d+\.\d+\.\d+),group=1
type=match,pattern=infrahub-v(\d+\.\d+),group=1
type=raw,value=stable
labels: |
org.opencontainers.image.source=${{ github.repository }}
publish-docker-image:
uses: ./.github/workflows/ci-docker-image.yml
secrets: inherit
needs: meta_data
with:
publish: true
version: ${{ github.ref_name }}
ref: ${{ github.sha }}
tags: ${{ needs.meta_data.outputs.tags }}
labels: ${{ needs.meta_data.outputs.labels }}
publish-helm-chart:
uses: ./.github/workflows/publish-helm-chart.yml
secrets: inherit
with:
publish: true