Skip to content

Build Docker image in CI #1

Build Docker image in CI

Build Docker image in CI #1

Workflow file for this run

name: docker
on:
push:
branches: [ main ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
DOCKER_BUILDKIT: 1
jobs:
ohttp-gateway:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "GIT_REVISION=$(git describe --always --dirty=-modified)" >> $GITHUB_ENV
- run: docker build \
--tag "privacy-gateway-server-go" \

Check failure on line 20 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
--build-arg GIT_REVISION=${GIT_REVISION} \
-f Dockerfile \
.
- run: docker run --rm --tag "privacy-gateway-server-go" -version