Skip to content

operator: Fix makefile dependencies for helm #14

operator: Fix makefile dependencies for helm

operator: Fix makefile dependencies for helm #14

Workflow file for this run

name: Publish ais-k8s release
on:
push:
tags:
- 'v*'
env:
AISOPERATOR_IMAGE: 'aistorage/ais-operator'
VERSION: ${{ github.ref_name }}
jobs:
release:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- uses: actions/setup-go@v4
with:
go-version: '1.22.x'
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Make aisoperator image
run: |
pushd $GITHUB_WORKSPACE/operator
IMG="${{ env.AISOPERATOR_IMAGE }}:${{ env.VERSION }}" make docker-build docker-push
popd
- name: Make operator yaml file and helm chart
run: |
pushd $GITHUB_WORKSPACE/operator
VERSION="${{ env.VERSION }}" IMG="${{ env.AISOPERATOR_IMAGE }}:${{ env.VERSION }}" make build-installer-helm
popd
- name: Release
uses: softprops/action-gh-release@v1
with:
files: operator/dist/*