mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-01-30 02:21:34 +02:00
release tag check
This commit is contained in:
@@ -11,8 +11,11 @@ jobs:
|
|||||||
build-latest-image:
|
build-latest-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Getting published release tag
|
- name: Fetching latest release tag
|
||||||
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: |
|
||||||
|
LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')"
|
||||||
|
echo "Latest release tag : $LATESTRELEASE"
|
||||||
|
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v2.4.0
|
uses: actions/checkout@v2.4.0
|
||||||
|
|||||||
Reference in New Issue
Block a user