Skip to content

Commit 0c276d0

Browse files
committed
workflows: Build and push all images
1 parent 887bd78 commit 0c276d0

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/containers.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,20 @@ defaults:
3434
run:
3535
shell: bash
3636
jobs:
37-
ubuntu:
38-
name: Ubuntu
37+
build-push:
38+
name: Build and Push
3939
runs-on: ubuntu-24.04
4040
permissions:
4141
packages: write
4242
timeout-minutes: 60
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
os:
47+
- file: ubuntu-24.04
48+
image: ubuntu:24.04-base
49+
- file: ubuntu-26.04
50+
image: ubuntu:26.04-base
4351
steps:
4452
- name: Checkout
4553
uses: actions/checkout@v6
@@ -57,8 +65,8 @@ jobs:
5765
uses: docker/build-push-action@v7
5866
with:
5967
context: containers
60-
file: containers/ubuntu-24.04
68+
file: containers/${{ matrix.file }}
6169
no-cache: true
6270
pull: true
6371
push: ${{ github.event_name != 'pull_request' }}
64-
tags: ghcr.io/parcio/julea/ubuntu:24.04-base
72+
tags: ghcr.io/parcio/julea/${{ matrix.image }}

0 commit comments

Comments
 (0)