Update .gitea/workflows/production-docker.yml

This commit is contained in:
Skylar Grant 2024-09-29 17:23:58 +00:00
parent 80f89d0117
commit eddf16a821

View File

@ -1,9 +1,9 @@
name: NodBot Production Dockerization
on:
pull_request:
branches:
- main
push:
tags:
- 'v*-prod*'
env:
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
@ -15,7 +15,7 @@ jobs:
steps:
- name: Pull latest from Git
run: |
echo "Branch: ${{ gitea.head_ref }}"
echo "Branch: tags/${{ gitea.ref_name }}"
pwd
whoami
mkdir -p /var/lib/act_runner/
@ -27,7 +27,7 @@ jobs:
cd nodbot
git pull
fi
git checkout ${{ gitea.head_ref }}
git checkout tags/${{ gitea.ref_name }}
- name: Build the Docker image
run: |
cd /var/lib/act_runner/nodbot