Skip to content

Commit

Permalink
set tag 01
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Chernovsky committed Dec 10, 2023
1 parent c0e6cbd commit 57b5400
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
if: ${{ contains(github.event.head_commit.message, 'smoke_test') }}
uses: docker/setup-buildx-action@v1
- name: Install Helm
uses: azure/setup-helm@v3
Expand All @@ -34,13 +35,15 @@ jobs:
flavor: |
latest=false
tags: |
type=semver,pattern={{version}},value=v2.0.0
type=semver,pattern={{version}},value=5.8.13
- uses: actions/checkout@v4
- name: Set up Go
if: ${{ contains(github.event.head_commit.message, 'smoke_test') }}
uses: actions/setup-go@v2
with:
go-version: 1.21.4
- name: Setup Operator SDK
if: ${{ contains(github.event.head_commit.message, 'smoke_test') }}
run: |
mkdir /tmp/operator-sdk
git clone -b v1.32.0 https://github.com/operator-framework/operator-sdk /tmp/operator-sdk
Expand All @@ -51,6 +54,7 @@ jobs:
- run: make manifests
- run: make test
- name: Build and push
if: ${{ contains(github.event.head_commit.message, 'smoke_test') }}
run: make docker-build docker-push IMG=cbartifactory/${{ steps.meta.outputs.tags }} VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
- name: Create and push chart
run: |
Expand Down

0 comments on commit 57b5400

Please sign in to comment.