-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps(gha): Update setup-go github action
* Upgrade to the v4 version * Check golang version from the `go.mod` file
- Loading branch information
Showing
2 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Build and push | ||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
|
@@ -18,9 +18,9 @@ jobs: | |
uses: actions/checkout@v1 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v1 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
go-version-file: "go.mod" | ||
|
||
- name: Start kind cluster | ||
uses: helm/[email protected] | ||
|
@@ -41,8 +41,8 @@ jobs: | |
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
# GO_MODULES: "on" | ||
|
||
# Docker buildx does not allow for multi architecture builds and loading the docker container locally, | ||
# this way we can not run trivy against the containers, one solution is to run multiple jobs for each arch | ||
# Docker buildx does not allow for multi architecture builds and loading the docker container locally, | ||
# this way we can not run trivy against the containers, one solution is to run multiple jobs for each arch | ||
|
||
docker: | ||
name: Docker build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters