Skip to content

Commit

Permalink
Updates to github actions (#406)
Browse files Browse the repository at this point in the history
* add dependabot to check gh actions

Signed-off-by: cpanato <[email protected]>

* update helm to v3.8.1

Signed-off-by: cpanato <[email protected]>

* update kind to v0.12.0

Signed-off-by: cpanato <[email protected]>

* use git hash instead of the tags for github actions

Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato authored Mar 14, 2022
1 parent dab9974 commit 85c1301
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ jobs:
steps:

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v2.4.0
with:
fetch-depth: 0

- name: shellcheck
uses: ludeeus/action-shellcheck@1.1.0
uses: ludeeus/action-shellcheck@94e0aab03ca135d11a35e5bfc14e6746dc56e7e9 # v1.1.0

- name: Setup go
uses: actions/setup-go@v2
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v2.2.0
with:
go-version: 1.17
go-version: 1.17.x

- uses: azure/setup-helm@v1
- uses: azure/setup-helm@18bc76811624f360dbd7f18c2d4ecb32c7b87bab # v1.1
with:
version: v3.7.2
version: v3.8.1

- name: Install tools
run: |
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
curl -fsSLo kind "https://github.com/kubernetes-sigs/kind/releases/download/v0.11.1/kind-linux-amd64"
curl -fsSLo kind "https://github.com/kubernetes-sigs/kind/releases/download/v0.12.0/kind-linux-amd64"
chmod +x kind
sudo mv kind /usr/local/bin/kind
Expand All @@ -52,10 +52,10 @@ jobs:
git diff --exit-code
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25 # v1.6.0

- name: Build
run: |
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
steps:

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v2.4.0
with:
fetch-depth: 0

- name: shellcheck
uses: ludeeus/action-shellcheck@1.1.0
uses: ludeeus/action-shellcheck@94e0aab03ca135d11a35e5bfc14e6746dc56e7e9 # v1.1.0

- name: Setup go
uses: actions/setup-go@v2
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v2.2.0
with:
go-version: 1.17
go-version: 1.17.x

- name: Install tools
run: |
Expand All @@ -36,13 +36,13 @@ jobs:
git diff --exit-code
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25 # v1.6.0

- name: Login to registry
uses: docker/login-action@v1
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1.14.1
with:
registry: quay.io
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -66,4 +66,3 @@ jobs:
echo "Building release ${{ github.event.inputs.version }}"
./build.sh --release

0 comments on commit 85c1301

Please sign in to comment.