Skip to content

Fixed on push branches #31

Fixed on push branches

Fixed on push branches #31

Workflow file for this run

name: Build Docker Image - CI
on:
release:
types:
- published
push:
branches:
- 'release*'
- master
jobs:
build:
name: Build and push docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Set up QEMU
run: |

Check failure on line 26 in .github/workflows/ci-file.yaml

View workflow run for this annotation

GitHub Actions / Build Docker Image - CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci-file.yaml (Line: 26, Col: 14): Unexpected symbol: 'branch:'. Located at position 30 within expression: steps.extract_branch.outputs.branch: -4
ls -l
cat main/main.go
echo "Image pushed to ${{ steps.extract_branch.outputs.branch: -4 }}"
# uses: docker/setup-qemu-action@v3