Skip to content

Commit

Permalink
feat: Add release/version mechanics
Browse files Browse the repository at this point in the history
  • Loading branch information
cpswan committed Aug 6, 2024
1 parent d7f88ff commit 331eaba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/buildimage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: BuildImage

on:
push:
tags:
- 'c*.*.*'
workflow_dispatch:
inputs:
cmake-version:
Expand All @@ -17,6 +20,10 @@ jobs:
outputs:
digest: ${{ steps.build_multi_arch_images.outputs.digest }}
steps:
# Extract version for docker tag
- name: Get version
run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV

- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0

Expand All @@ -40,6 +47,7 @@ jobs:
tags: |
atsigncompany/cbuildimage:latest
atsigncompany/cbuildimage:GHA_${{ github.run_number }}
atsigncompany/cbuildimage:CMake-${{ env.VERSION }}
platforms: |
linux/amd64
linux/arm64/v8
Expand Down

0 comments on commit 331eaba

Please sign in to comment.