Skip to content

chore: build in misc/loop #4

chore: build in misc/loop

chore: build in misc/loop #4

Workflow file for this run

name: docker
on:
push:
branches:
- "master"
- "ops/portal-loop"
tags:
- "v*"
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
image: ["autocounterd", "portalloopd"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker metadata (autcounterd)
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}/${{ matrix.image }}
tags: |
type=raw,value=latest
type=semver,pattern=v{{version}}
- name: Build and push
uses: docker/build-push-action@v4
working-directory: misc/loop

Check failure on line 39 in .github/workflows/portal-loop.yml

View workflow run for this annotation

GitHub Actions / docker

Invalid workflow file

The workflow is not valid. .github/workflows/portal-loop.yml (Line: 39, Col: 9): Unexpected value 'working-directory'
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
target: ${{ matrix.image }}