mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-08 22:10:50 +00:00
Add cli publish and rename publish docker flow name (#40)
* new makefiles, build automation * Update main.yml * add git branch to the bucket path * Update main.yml * no message * no message * fix yaml * fix naming * run only on main and develop Co-authored-by: Alex Haiut <alex@up9.com>
This commit is contained in:
19
.github/workflows/publish-cli.yml
vendored
Normal file
19
.github/workflows/publish-cli.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: public-cli
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'develop'
|
||||
- 'main'
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Cloud SDK
|
||||
uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
service_account_key: ${{ secrets.GCR_JSON_KEY }}
|
||||
export_default_credentials: true
|
||||
- name: Build and Push CLI
|
||||
run: make push-cli
|
@@ -1,4 +1,4 @@
|
||||
name: ci
|
||||
name: publish-docker
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -23,8 +23,8 @@ jobs:
|
||||
type=sha
|
||||
type=raw,${{ github.sha }}
|
||||
type=raw,latest
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: gcr.io
|
||||
username: _json_key
|
||||
@@ -35,4 +35,5 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
Reference in New Issue
Block a user