Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 00c5a49

Browse files
authored
Merge pull request #563 from cprivitere/update-github-actions
✨ Update github actions
2 parents 57759b5 + d2495ff commit 00c5a49

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/actions/metadata/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ runs:
3636
IMAGES=${GHCR_REGISTRY}/${IMAGE_NAME}
3737
[[ -n "$DOCKER_USERNAME" ]] && IMAGES=${IMAGES},${DOCKER_REGISTRY}/${IMAGE_NAME}
3838
[[ -n "$QUAY_USERNAME" ]] && IMAGES=${IMAGES},${QUAY_REGISTRY}/${IMAGE_NAME}
39-
echo "::set-output name=images::${IMAGES}"
39+
echo "images=${IMAGES}" >> $GITHUB_OUTPUT
4040
- name: Docker manager metadata
4141
id: meta
42-
uses: docker/metadata-action@v3
42+
uses: docker/metadata-action@v4
4343
with:
4444
images: ${{ steps.image-urls.outputs.images }}
4545
flavor: ${{ inputs.metadata_flavor }}

.github/actions/setup-go/action.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- uses: actions/setup-go@v2
11+
- uses: actions/setup-go@v4
1212
with:
1313
go-version: ${{ inputs.version }}
1414
- id: go-cache-paths
1515
shell: bash
1616
run: |
17-
echo "::set-output name=go-build::$(go env GOCACHE)"
18-
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
17+
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
18+
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
1919
- name: Go Mod Cache
20-
uses: actions/cache@v2
20+
uses: actions/cache@v3
2121
with:
2222
path: ${{ steps.go-cache-paths.outputs.go-mod }}
2323
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
2424
restore-keys: |
2525
${{ runner.os }}-go-mod-
2626
- name: Go Build Cache
27-
uses: actions/cache@v2
27+
uses: actions/cache@v3
2828
with:
2929
path: ${{ steps.go-cache-paths.outputs.go-build }}
3030
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}

0 commit comments

Comments
 (0)