Skip to content

Commit

Permalink
Checkout correct tag version before release
Browse files Browse the repository at this point in the history
  • Loading branch information
mjura committed Apr 10, 2024
1 parent 6999ef4 commit 337bc1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Release

on:
workflow_dispatch:
push:
tags:
- 'v*'
Expand Down Expand Up @@ -43,7 +42,9 @@ jobs:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name}}
- name: Build operator binary
run: |
make operator
Expand Down

0 comments on commit 337bc1e

Please sign in to comment.