Skip to content

Commit

Permalink
[WIP] Add publish dockerhub image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
indiebrain committed Dec 20, 2023
1 parent 0be04ae commit f8902ea
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- master
- 'master'
tags:
- 'v*'
pull_request:
branches:
- 'master'

jobs:
check:
Expand Down Expand Up @@ -76,3 +81,25 @@ jobs:

- name: Helm test
run: make helm-test

dockerhub-image:
needs: [check, unit-test, integration-test]
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Release Image
run: make image-release

0 comments on commit f8902ea

Please sign in to comment.