Update docker_dev.yml

Added "get_version" variable
Added variable "Create .VERSION file"
This commit is contained in:
Carlos V
2023-08-09 03:12:32 +02:00
committed by GitHub
parent 3718a06ea9
commit 9c7f5ff771

View File

@@ -32,9 +32,16 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Set up dynamic build ARGs
id: getargs
id: getargs
run: echo "version=$(cat ./stable/VERSION)" >> $GITHUB_OUTPUT
- name: Get release version
id: get_version
run: echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
- name: Create .VERSION file
run: echo "${{ steps.get_version.outputs.version }}" >> .VERSION
- name: Docker meta
id: meta
uses: docker/metadata-action@v4