Skip to content

Fix strategy field

Fix strategy field #8

Workflow file for this run

name: labs344-build
on:
workflow_dispatch:
push:
paths:
- containers/labs344/**
- .github/workflows/labs344-build.yml # Self-trigger
env:
REGISTRY: ghcr.io
IMAGE_NAME: bouncmpe/labs344
IMAGE_TAG: 23.10
jobs:
build:
strategy:

Check failure on line 18 in .github/workflows/labs344-build.yml

View workflow run for this annotation

GitHub Actions / labs344-build

Invalid workflow file

The workflow is not valid. .github/workflows/labs344-build.yml (Line: 18, Col: 14): Unexpected value '' .github/workflows/labs344-build.yml (Line: 19, Col: 5): Unexpected value 'fail-fast'
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: containers/labs344
push: false
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}