-
Notifications
You must be signed in to change notification settings - Fork 14
46 lines (40 loc) · 1.2 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Skaffold
on:
push:
paths:
- src/**
- .github/workflows/ci.yml
- action.yml
jobs:
pipiline:
name: Skaffold Pipiline
runs-on: ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup Minikube
uses: hiberbee/[email protected]
- name: Setup Helm
uses: hiberbee/[email protected]
with:
repository-config: test/repositories.yaml
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
registry: ${{ secrets.DOCKER_REPOSITORY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Run Skaffold pipeline as action
uses: hiberbee/github-action-skaffold@latest
with:
command: run
working-directory: test
repository: ${{ secrets.DOCKER_REPOSITORY }}
- name: Run Skaffold pipeline as command
run: skaffold build
working-directory: test
env:
SKAFFOLD_DEFAULT_REPO: ${{ secrets.SKAFFOLD_DEFAULT_REPO }}
SKAFFOLD_SKIP_TESTS: true
- name: Get Helm releases
run: helm list