Skip to content

Github Action

Github Action #4

# 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:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/swift-linux-x86_64.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
context: .
file: {context}/game-install-linux-x86_64.Dockerfile
push: true
tags: codetoil/game-devenv-linux-x86_64:latest