Release v1.0.50
All checks were successful
Conditional Release Build / create-release (push) Has been skipped
Conditional Release Build / debug-conditions (push) Successful in 6s
Conditional Release Build / create-docker-image (push) Successful in 4m15s
Conditional Release Build / update-to-release-branch (push) Has been skipped
All checks were successful
Conditional Release Build / create-release (push) Has been skipped
Conditional Release Build / debug-conditions (push) Successful in 6s
Conditional Release Build / create-docker-image (push) Successful in 4m15s
Conditional Release Build / update-to-release-branch (push) Has been skipped
This commit is contained in:
@@ -4,12 +4,6 @@ on:
|
||||
tags:
|
||||
- v*
|
||||
|
||||
env:
|
||||
# Можно переопределить через секреты или переменные
|
||||
BUILD_CREATE_RELEASE: ${{ secrets.BUILD_CREATE_RELEASE || vars.BUILD_CREATE_RELEASE || '1' }}
|
||||
BUILD_CREATE_DOCKER_IMAGE: ${{ secrets.BUILD_CREATE_DOCKER_IMAGE || vars.BUILD_CREATE_DOCKER_IMAGE || '1' }}
|
||||
BUILD_UPDATE_RELEASE_BRANCH: ${{ secrets.BUILD_UPDATE_RELEASE_BRANCH || vars.BUILD_UPDATE_RELEASE_BRANCH || '1' }}
|
||||
|
||||
jobs:
|
||||
debug-conditions:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -17,13 +11,13 @@ jobs:
|
||||
- name: Show build conditions
|
||||
run: |
|
||||
echo "Build conditions:"
|
||||
echo " BUILD_CREATE_RELEASE: $BUILD_CREATE_RELEASE"
|
||||
echo " BUILD_CREATE_DOCKER_IMAGE: $BUILD_CREATE_DOCKER_IMAGE"
|
||||
echo " BUILD_UPDATE_RELEASE_BRANCH: $BUILD_UPDATE_RELEASE_BRANCH"
|
||||
echo " BUILD_CREATE_RELEASE: ${{ vars.BUILD_CREATE_RELEASE == 'true' }}"
|
||||
echo " BUILD_CREATE_DOCKER_IMAGE: ${{ vars.BUILD_CREATE_DOCKER_IMAGE == 'true' }}"
|
||||
echo " BUILD_UPDATE_RELEASE_BRANCH: ${{ vars.BUILD_UPDATE_RELEASE_BRANCH == 'true' }}"
|
||||
|
||||
create-release:
|
||||
runs-on: ubuntu-latest
|
||||
if: env.BUILD_CREATE_RELEASE == '1'
|
||||
if: ${{ vars.BUILD_CREATE_RELEASE == 'true' }}
|
||||
container:
|
||||
image: ${{ secrets.DOCKERHUB_USERNAME }}/my-build-golang-runner:latest
|
||||
steps:
|
||||
@@ -120,7 +114,7 @@ jobs:
|
||||
create-docker-image:
|
||||
runs-on: ubuntu-latest
|
||||
# needs: create-release
|
||||
if: env.BUILD_CREATE_DOCKER_IMAGE == '1'
|
||||
if: ${{ vars.BUILD_CREATE_DOCKER_IMAGE == 'true' }}
|
||||
container:
|
||||
image: docker:28.3.2-dind
|
||||
steps:
|
||||
|
Reference in New Issue
Block a user