Merge pull request #686 from dholbach/fix-685

Replace set-output with GITHUB_OUTPUT
This commit is contained in:
Daniel Holbach
2022-11-02 14:03:09 +01:00
committed by GitHub
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Find current tag version
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
id: tags
- name: Setup GoReleaser
+2 -2
View File
@@ -83,7 +83,7 @@ jobs:
- name: Setup GoReleaser
run: make bootstrap-tools
- name: Find current tag version
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
id: tags
- name: Build image
run: VERSION="${{ steps.tags.outputs.sha_short }}" make image
@@ -124,7 +124,7 @@ jobs:
- name: Setup GoReleaser
run: make bootstrap-tools
- name: Find current tag version
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
id: tags
- name: Build artifacts
run: |
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
go-version-file: 'go.mod'
check-latest: true
- name: Find current tag version
run: echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
id: tags
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
- name: Setup GoReleaser
run: make bootstrap-tools
- name: Find current tag version
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
id: tags
- name: Build artifacts
run: VERSION="${{ steps.tags.outputs.sha_short }}" make image