mirror of
https://github.com/bryangerlach/rdgen.git
synced 2025-11-29 00:23:27 +00:00
changed docker-build action
This commit is contained in:
3
.github/workflows/docker-build.yml
vendored
3
.github/workflows/docker-build.yml
vendored
@@ -14,11 +14,12 @@ jobs:
|
||||
steps:
|
||||
- name: set docker image tag
|
||||
run: |
|
||||
echo "CREATE_IMAGE=true" >> $env:GITHUB_ENV
|
||||
if [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then
|
||||
echo "IMAGE_TAG=dev" >> $env:GITHUB_ENV
|
||||
echo "CREATE_IMAGE=true" >> $env:GITHUB_ENV
|
||||
elif [[ "${{ github.ref_type }}" == "tag" ]]; then
|
||||
echo "IMAGE_TAG=${{ github.ref_name }}"
|
||||
echo "CREATE_IMAGE=true" >> $env:GITHUB_ENV
|
||||
else
|
||||
echo "CREATE_IMAGE=false" >> $env:GITHUB_ENV
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user