File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
run : |
18
18
BRANCH="${GITHUB_REF#refs/heads/}"
19
19
if [ "$BRANCH" == 'main' ] ; then
20
- echo "::set-output name= tag:: latest"
20
+ echo "tag= latest" >> $GITHUB_OUTPUT
21
21
else
22
- echo "::set-output name= tag:: $BRANCH"
22
+ echo "tag= $BRANCH" >> $GITHUB_OUTPUT
23
23
fi
24
24
- run : echo "${{ secrets.QUAY_BOT_PASSWORD }}" | docker login --username "${{ secrets.QUAY_BOT_USERNAME }}" --password-stdin quay.io
25
25
- name : build container image
Original file line number Diff line number Diff line change 26
26
ref : ${{ github.event.inputs.commit_ref }}
27
27
- id : get_sha
28
28
run : |
29
- echo "::set-output name= sha:: $(git rev-parse HEAD)"
29
+ echo "sha= $(git rev-parse HEAD)" >> $GITHUB_OUTPUT
30
30
- uses : actions/github-script@v3
31
31
with :
32
32
github-token : ${{ secrets.MOVE2KUBE_PATOKEN }}
You can’t perform that action at this time.
0 commit comments