Skip to content

chore: fix helm default RBAC #3

chore: fix helm default RBAC

chore: fix helm default RBAC #3

Workflow file for this run

name: Release Image
on:
push:
tags:
- 'kube-hpa-scale-to-zero-*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: machine424/kube-hpa-scale-to-zero
tags: |
type=match,pattern=kube-hpa-scale-to-zero-(.*),group=1
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}