added in gitea actions
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 10s
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 10s
This commit is contained in:
@@ -13,9 +13,13 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Print Hostname
|
||||||
|
run: |
|
||||||
|
hostname
|
||||||
|
|
||||||
- name: Determine Image Tag
|
- name: Determine Image Tag
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ gitea.ref }}" == "refs/heads/master" ]; then
|
if [ "${{ gitea.ref }}" == "refs/heads/master" ]; then
|
||||||
echo "tag=latest" >> $GITHUB_OUTPUT
|
echo "tag=latest" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user