indicate dev build

This commit is contained in:
Kamil
2024-11-24 22:10:03 +00:00
parent 7de92f01ec
commit a84ae01e55
3 changed files with 22 additions and 4 deletions

View File

@@ -24,6 +24,18 @@ jobs:
version=$(python3 -c "import version; print(f'dev-{version.__version__}')")
echo "VERSION=$version" >> $GITHUB_ENV
# Extract branch name and latest commit SHA
- name: Extract branch name and commit SHA
id: branch_info
run: |
echo "BRANCH_NAME=${{ github.event.inputs.branch }}" >> $GITHUB_ENV
echo "COMMIT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
# Create a file indicating this is a dev build
- name: Create DEV_BUILD file
run: |
echo "${{ env.BRANCH_NAME }}-${{ env.COMMIT_SHA }}" > DEV_BUILD
# Set up Docker
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2