Skip to content

Commit

Permalink
Loop with build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
haatveit committed Mar 14, 2024
1 parent 98cc593 commit 3d1b0fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build container

on:
push:
tags:
- 'v*'

env:
REGISTRY: ghcr.io
Expand All @@ -17,11 +15,15 @@ jobs:
permissions:
contents: read
packages: write
strategy:
matrix:
tag: ["v2.0", "v2.1" ]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ matrix.tag }}
fetch-depth: 0
- name: Extract metadata (tags, labels) for container
id: meta
Expand Down

0 comments on commit 3d1b0fb

Please sign in to comment.