Skip to content

Commit f6e22b3

Browse files
committed
rollback gha build
1 parent 4513aa1 commit f6e22b3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Release
2-
on:
2+
on:
33
release:
44
types: [published]
5-
workflow_dispatch:
6-
reason_to_run:
7-
description: "Please provide a description why it's need to be run outside of automatic builds process"
8-
required: false
9-
default: ""
5+
# workflow_dispatch:
6+
# reason_to_run:
7+
# description: "Please provide a description why it's need to be run outside of automatic builds process"
8+
# required: false
9+
# default: ""
1010

1111

1212
env:
@@ -17,7 +17,7 @@ jobs:
1717
release:
1818
name: Release bin version
1919
runs-on: ubuntu-latest
20-
if: github.event_name != 'workflow_dispatch'
20+
# if: github.event_name != 'workflow_dispatch'
2121
container: golang:1.16.0-alpine
2222
steps:
2323

@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/checkout@v2
4545

4646
- name: Build image
47-
run: |
47+
run: |
4848
set -x
4949
VERSION=$(git describe --tag --abbrev=0)
5050
cp Dockerfile-alpine Dockerfile
@@ -75,6 +75,6 @@ jobs:
7575
docker push "${REGISTRY}/${IMAGE}:${VERSION}"
7676
docker push "${REGISTRY}/${IMAGE}:latest"
7777
78-
- name: Message why this build was required
79-
if: github.event.inputs.reason_to_run
80-
run: echo "Reason for the manual build: ${{ github.event.inputs.reason_to_run }}"
78+
# - name: Message why this build was required
79+
# if: github.event.inputs.reason_to_run
80+
# run: echo "Reason for the manual build: ${{ github.event.inputs.reason_to_run }}"

0 commit comments

Comments
 (0)