more editing
Some checks failed
Gitea Actions Demo / build-and-push (push) Failing after 6s

This commit is contained in:
2026-02-10 23:23:33 -05:00
parent 26f90a4d1f
commit 917ad25f7f

View File

@@ -16,11 +16,13 @@ jobs:
- name: Determine Image Tag - name: Determine Image Tag
id: vars id: vars
run: | run: |
current_date=$(date +%Y-%m-%d-%H%M%S)
if [ "${{ gitea.ref }}" == "refs/heads/master" ]; then if [ "${{ gitea.ref }}" == "refs/heads/master" ]; then
echo "tag=latest" >> $GITHUB_OUTPUT echo "tag=latest-$current_date" >> $GITHUB_OUTPUT
else else
echo "tag=next" >> $GITHUB_OUTPUT echo "tag=next-$current_date" >> $GITHUB_OUTPUT
fi fi
echo "Determined image tag: ${{ tag }}"
- name: Resolve Gitea Server IP - name: Resolve Gitea Server IP
id: gitea_ip id: gitea_ip