Skip to content

Commit

Permalink
fix github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
woodgear committed Mar 14, 2024
1 parent 993714d commit 068a840
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Build
on:
workflow_dispatch:
inputs:
do_release:
type: boolean
description: do release
required: true
pull_request:
branches:
- master
Expand Down Expand Up @@ -95,13 +101,14 @@ jobs:
with:
install_only: true
- name: release
if: ${{ contains(github.event.head_commit.message, '#release') }}
if: ${{ inputs.do_release }}
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_CLI_EXPERIMENTAL: enabled
run: |
echo "in release"
# push docker
source ./scripts/alb-dev-actions.sh
export VERSION=$(alb-github-gen-version)
Expand Down

0 comments on commit 068a840

Please sign in to comment.