Skip to content

🔨 Update CI/CD workflow to tag release versions and push to Docker registry. #7

🔨 Update CI/CD workflow to tag release versions and push to Docker registry.

🔨 Update CI/CD workflow to tag release versions and push to Docker registry. #7

Workflow file for this run

name: Check versions
on:
pull_request:
jobs:
docker:
runs-on: arc-arm64
steps:
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
gitea.proompteng.ai/d/lab/ecran
tags: |
type=semver,value=${{ steps.tag_version.outputs.new_tag }}
- name: Build and push
run: |
echo ${{ steps.meta.outputs.tags }}