Release v0.2.4 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
release: | |
types: [published] | |
jobs: | |
push-docker-image: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check the repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Docker login | |
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | |
env: | |
DOCKER_USER: ${{secrets.DOCKER_USER}} | |
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | |
- name : push to Docker Hub | |
run: make build-image image-push | |
push-artifact-hub: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check the repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: azure/setup-helm@v3 | |
with: | |
version: v3.10.1 | |
- name: Docker login | |
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | |
env: | |
DOCKER_USER: ${{secrets.DOCKER_USER_HELM}} | |
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD_HELM}} | |
- name : push to Artifact Hub | |
run: make helm-push | |
env: | |
DOCKER_USER: ${{secrets.DOCKER_USER_HELM}} | |