Skip to content

Commit

Permalink
Fixed on push branches
Browse files Browse the repository at this point in the history
  • Loading branch information
nkononov committed Mar 21, 2024
1 parent 1e21455 commit f8a7837
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
- published
push:
branches:
- release-1
- 'release*'
- master

jobs:
build:
Expand All @@ -18,13 +19,17 @@ jobs:

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
run: |
branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
echo "branch=${branch}" >> $GITHUB_OUTPUT
echo "branch_version=${branch: -4}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Set up QEMU
run: |
ls -l
cat main/main.go
echo "Image pushed to ${{ steps.extract_branch.outputs.branch }}"
echo "Image pushed to ${{ steps.extract_branch.outputs.branch_version }}"
# uses: docker/setup-qemu-action@v3

72 changes: 72 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8a7837

Please sign in to comment.