Skip to content

Fix error 2 ?

Fix error 2 ? #6

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift Linux x86_64
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ${{ context }}/game-install-linux-x86_64.Dockerfile

Check failure on line 34 in .github/workflows/swift-linux-x86_64.yml

View workflow run for this annotation

GitHub Actions / Swift Linux x86_64

Invalid workflow file

The workflow is not valid. .github/workflows/swift-linux-x86_64.yml (Line: 34, Col: 15): Unrecognized named-value: 'context'. Located at position 1 within expression: context
push: true
tags: codetoil/game-devenv-linux-x86_64:latest