This is an automated email from the ASF dual-hosted git repository.
kichan pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new acfec4b More cleanup on github actions (#228)
acfec4b is described below
commit acfec4b860d7990813f33e418e945ca9e407f2b6
Author: Kit Chan <[email protected]>
AuthorDate: Wed May 22 08:24:33 2024 -0700
More cleanup on github actions (#228)
* Update build.yml
* Update test.yml
* Update test.yml
---
.github/workflows/build.yml | 8 ++++----
.github/workflows/test.yml | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f2466f6..e776014 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -72,7 +72,7 @@ jobs:
- name: Log in to the Container registry
if: github.repository == 'apache/trafficserver-ingress-controller'
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
@@ -81,7 +81,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
if: github.repository == 'apache/trafficserver-ingress-controller'
id: meta
- uses: docker/metadata-action@v4
+ uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
@@ -89,7 +89,7 @@ jobs:
- name: Build and push Docker image
if: github.repository == 'apache/trafficserver-ingress-controller'
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v5
with:
context: .
push: true
@@ -107,6 +107,6 @@ jobs:
- name: Upload Trivy scan results to GitHub Security tab
if: github.repository == 'apache/trafficserver-ingress-controller'
- uses: github/codeql-action/upload-sarif@v2
+ uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 5c75de6..a530029 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -24,20 +24,20 @@ jobs:
steps:
- name: Check out code into the Go module directory
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: go-version
- run: echo "::set-output name=value::$(cat GO_VERSION)"
+ run: echo "value=$(cat GO_VERSION)" >>$GITHUB_OUTPUT
id: go-version
- name: Set up Go 1.x
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.value }}
id: go
# commit for v8.0.0
- - uses: leafo/gh-actions-lua@ea0ae38722c0b45aa4e770f7c4a650c6b26800d0
+ - uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.1.5"