mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Revert "Include the latest commit SHA in the farmOS version."
This reverts commit 43970e4cf3
.
See https://github.com/farmOS/farmOS/pull/401
This commit is contained in:
parent
caf36c7214
commit
412cc20be5
4
.github/workflows/run-tests.yml
vendored
4
.github/workflows/run-tests.yml
vendored
|
@ -31,12 +31,12 @@ jobs:
|
|||
- name: Set FARMOS_VERSION for push event.
|
||||
if: ${{ !github.event.pull_request }}
|
||||
run: |
|
||||
echo "FARMOS_VERSION=${GITHUB_REF:11}#${GITHUB_SHA}" >> $GITHUB_ENV
|
||||
echo "FARMOS_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
|
||||
echo "FARMOS_REPO=${GITHUB_REPOSITORY}" >> $GITHUB_ENV
|
||||
- name: Set FARMOS_VERSION for pull request event.
|
||||
if: ${{ github.event.pull_request }}
|
||||
run: |
|
||||
echo "FARMOS_VERSION=${GITHUB_HEAD_REF}#${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
|
||||
echo "FARMOS_VERSION=${GITHUB_HEAD_REF}" >> $GITHUB_ENV
|
||||
echo "FARMOS_REPO=${{ github.event.pull_request.head.repo.full_name }}" >> $GITHUB_ENV
|
||||
- name: Build farmOS 2.x Docker image
|
||||
run: docker build --build-arg FARMOS_REPO=https://github.com/${FARMOS_REPO} --build-arg FARMOS_VERSION=${FARMOS_VERSION} -t farmos/farmos:2.x docker
|
||||
|
|
Loading…
Reference in a new issue