Skip to content

Commit

Permalink
setting corresponding branch name as tag
Browse files Browse the repository at this point in the history
  • Loading branch information
shibme committed Jan 29, 2024
1 parent 678a09a commit 5d362b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build Main Branch
name: Build Branch

on:
push:
branches:
- main

jobs:
build-main:
build-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
Expand Down Expand Up @@ -39,4 +39,4 @@ jobs:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}/k8slv:${{ github.ref_name }}-snapshot
ghcr.io/${{ github.repository }}/k8slv:${{ github.ref_name }}
2 changes: 1 addition & 1 deletion k8s/deploy-slv-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
serviceAccountName: slv-controller
containers:
- name: slv-controller
image: ghcr.io/amagimedia/slv/k8slv:latest # Use the version tag corresponding to the version of SLV used with the CR
image: ghcr.io/amagimedia/slv/k8slv:main # Use the specific version tag (main branch releases might be unstable) corresponding to the version of SLV used with the CR
resources:
limits:
cpu: "1" # 1 CPU should be fairly enough for SLV Controller
Expand Down

0 comments on commit 5d362b2

Please sign in to comment.