[GH-ISSUE #376] Can act works with Containers in matrix ? #262

Closed
opened 2026-03-01 21:41:53 +03:00 by kerem · 2 comments
Owner

Originally created by @kozicpetar on GitHub (Sep 29, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/376

Hi, I can't find anything does act support container images and can I use it in matrix?
On example, if I try this:

jobs:
  test:
    name: Test
    strategy:
      matrix:
        os: ['ubuntu:18.04', 'debian:10']
    runs-on: ubuntu-latest
    container: ${{ matrix.os }}

I get error:
Error: invalid reference format

OS: MacOS
Act version: act version 0.2.14

Originally created by @kozicpetar on GitHub (Sep 29, 2020). Original GitHub issue: https://github.com/nektos/act/issues/376 Hi, I can't find anything does act support container images and can I use it in matrix? On example, if I try this: ``` jobs: test: name: Test strategy: matrix: os: ['ubuntu:18.04', 'debian:10'] runs-on: ubuntu-latest container: ${{ matrix.os }} ``` I get error: `Error: invalid reference format` OS: `MacOS` Act version: `act version 0.2.14`
kerem closed this issue 2026-03-01 21:41:53 +03:00
Author
Owner

@SteffenSeckler commented on GitHub (Nov 10, 2020):

I am getting the same error.

act version: 0.2.17

<!-- gh-comment-id:724802234 --> @SteffenSeckler commented on GitHub (Nov 10, 2020): I am getting the same error. act version: 0.2.17
Author
Owner

@SteffenSeckler commented on GitHub (Nov 10, 2020):

Should be fixes in #413.

<!-- gh-comment-id:724834891 --> @SteffenSeckler commented on GitHub (Nov 10, 2020): Should be fixes in #413.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#262
No description provided.