Skip to content

Small on push workflow fix #35

Small on push workflow fix

Small on push workflow fix #35

name: Docker build and push
on:
push:
branches:
- '**'
paths:
- 'src/**'
- '.github/workflows/**'
- 'requirements.txt'
- 'entrypoint.sh'
- 'Dockerfile'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: erikmagkekse/ziti-edge-proxy:${{ github.ref_name //\//- }}

Check failure on line 35 in .github/workflows/docker-build-and-push.yml

View workflow run for this annotation

GitHub Actions / Docker build and push

Invalid workflow file

The workflow is not valid. .github/workflows/docker-build-and-push.yml (Line: 35, Col: 17): Unexpected symbol: '//\//-'. Located at position 17 within expression: github.ref_name //\//-