Skip to content

Commit

Permalink
update build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
glehmann committed Oct 13, 2023
1 parent a060c87 commit 801359a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ on:
tags:
- "*"

env:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
HELM_DIR: ./cockroachdb

jobs:

############################ tests ############################

lint-helm:
runs-on: [self-hosted]
steps:
- uses: eniblock/build/actions/[email protected]
id: setup
with:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: eniblock/build/actions/setup@develop
- run: earthly +lint

############################ helm ############################
Expand All @@ -25,13 +26,8 @@ jobs:
runs-on: [self-hosted]
needs: [lint-helm]
steps:
- uses: eniblock/build/actions/[email protected]
id: setup
with:
helmdir: cockroachdb
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build/Publish the helm charts
run: |
- uses: eniblock/build/actions/setup@develop
- run: |
earthly \
--secret registry_password=${{ github.token }} \
+publish \
Expand Down
3 changes: 0 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ VERSION 0.6
ARG helmhelper=github.com/eniblock/build/helm:develop
IMPORT $helmhelper AS helm

ARG deployhelper=github.com/eniblock/build/deploy:develop
IMPORT $deployhelper AS deploy

ARG repository=ghcr.io/eniblock/cockroachdb

deps:
Expand Down

0 comments on commit 801359a

Please sign in to comment.