Skip to content

train-model: Array Sorting @ EC2 Spot #4

train-model: Array Sorting @ EC2 Spot

train-model: Array Sorting @ EC2 Spot #4

Workflow file for this run

name: Test Workflow with GitHub Container Registry
on:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: ./.devcontainer
push: true
tags: ghcr.io/${{ github.event.repository.name | lower }}/devcontainer:latest

Check failure on line 27 in .github/workflows/python-app.yml

View workflow run for this annotation

GitHub Actions / Test Workflow with GitHub Container Registry

Invalid workflow file

The workflow is not valid. .github/workflows/python-app.yml (Line: 27, Col: 15): Unexpected symbol: '|'. Located at position 30 within expression: github.event.repository.name | lower .github/workflows/python-app.yml (Line: 32, Col: 16): Unexpected symbol: '|'. Located at position 30 within expression: github.event.repository.name | lower
test:
needs: build
runs-on: ubuntu-latest
container: ghcr.io/${{ github.event.repository.name | lower }}/devcontainer:latest
steps:
- name: Test
run: |
echo "success"