We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b85f422 commit c87971bCopy full SHA for c87971b
.github/workflows/build.yml
@@ -43,9 +43,9 @@ jobs:
43
run: |
44
BRANCH="${GITHUB_REF#refs/heads/}"
45
if [ "$BRANCH" == 'main' ] ; then
46
- echo "::set-output name=tag::latest"
+ echo "tag=latest" >> $GITHUB_OUTPUT
47
else
48
- echo "::set-output name=tag::$BRANCH"
+ echo "tag=$BRANCH" >> $GITHUB_OUTPUT
49
fi
50
- name: pull latest image to reuse layers
51
.github/workflows/release.yml
@@ -54,7 +54,7 @@ jobs:
54
ref: ${{ github.event.inputs.commit_ref }}
55
- id: get_sha
56
57
- echo "::set-output name=sha::$(git rev-parse HEAD)"
+ echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
58
- uses: actions/github-script@v3
59
with:
60
github-token: ${{ secrets.MOVE2KUBE_PATOKEN }}
0 commit comments