Skip to content

Commit

Permalink
github actions update (podkrepi-bg#1655)
Browse files Browse the repository at this point in the history
* added dependabot to update github actions

* added run-name for Release github workflow to better distinguish it in the actions list
  • Loading branch information
quantum-grit authored and tongo-angelov committed Nov 14, 2023
1 parent b5d8700 commit 09bd5ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
# Check for updates to GitHub Actions every month
interval: 'monthly'
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Release
run-name: Releasing ${{ github.event.release.tag_name }}

on:
workflow_dispatch:
Expand Down Expand Up @@ -150,7 +151,7 @@ jobs:
working-directory: manifests/overlays/development
run: |
kustomize edit set image ghcr.io/podkrepi-bg/frontend=ghcr.io/podkrepi-bg/frontend:$VERSION
kustomize edit set annotation app.komodor.com/app.ref:$GITHUB_SHA
kustomize edit set annotation app.komodor.com/app.ref:$GITHUB_SHA
- name: Set kubeconfig
run: echo ${{ secrets.K8S_DEV_CONFIG }} | base64 -d > config.yaml
Expand Down Expand Up @@ -202,7 +203,7 @@ jobs:
working-directory: manifests/overlays/production
run: |
kustomize edit set image ghcr.io/podkrepi-bg/frontend=ghcr.io/podkrepi-bg/frontend:$VERSION
kustomize edit set annotation app.komodor.com/app.ref:$GITHUB_SHA
kustomize edit set annotation app.komodor.com/app.ref:$GITHUB_SHA
- name: Set kubeconfig
run: echo ${{ secrets.K8S_CONFIG }} | base64 -d > config.yaml
Expand Down

0 comments on commit 09bd5ee

Please sign in to comment.