modify gitea
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 11s
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 11s
This commit is contained in:
@@ -16,13 +16,12 @@ jobs:
|
||||
- name: Determine Image Tag
|
||||
id: vars
|
||||
run: |
|
||||
current_date=$(date +%Y-%m-%d-%H%M%S)
|
||||
current_date=$(date +%Y%m%d)
|
||||
if [ "${{ gitea.ref }}" == "refs/heads/master" ]; then
|
||||
echo "tag=latest-$current_date" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tag=next-$current_date" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
echo "Determined image tag: ${{ steps.vars.outputs.tag }}"
|
||||
|
||||
- name: Resolve Gitea Server IP
|
||||
id: gitea_ip
|
||||
|
||||
Reference in New Issue
Block a user