Skip to content

Commit

Permalink
Merge pull request nephio-project#131 from nokia/build-images-for-ver…
Browse files Browse the repository at this point in the history
…sion-tags

Tag container images built from git commits tagged with vX.Y.Z with the same vX.Y.Z tag
  • Loading branch information
efiacor authored Nov 15, 2024
2 parents d7bd755 + 911266c commit b5f18f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dev-image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
tags:
- "v[0-9]+.[0-9]+.[0-9]"
- "v[0-9]+.[0-9]+.[0-9]-pre[0-9]+"
paths-ignore:
- "docs/**"
- "release/**"
Expand Down Expand Up @@ -73,7 +76,7 @@ jobs:
push: true
tags: |
${{ steps.meta.outputs.tags }}
${{ matrix.image }}:latest
${{ matrix.image }}:${{ github.ref_name == 'main' && 'latest' || github.ref_name }}
labels: ${{ steps.meta.outputs.labels }}
no-cache: true
sbom: true

0 comments on commit b5f18f9

Please sign in to comment.