Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/build-base-images-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ jobs:
strategy:
matrix:
base:
- name: nx-base
dockerfile: Docker/NxBase.Dockerfile
tags: |
docker.io/ptr727/nx-base:ubuntu-noble
- name: nx-base-lsio
dockerfile: Docker/NxBase-LSIO.Dockerfile
tags: |
docker.io/ptr727/nx-base-lsio:ubuntu-noble
- name: nx-base
dockerfile: Docker/NxBase.Dockerfile
cache_tag: docker.io/ptr727/nx-base:ubuntu-noble
tags: |
docker.io/ptr727/nx-base:ubuntu-noble
- name: nx-base-lsio
dockerfile: Docker/NxBase-LSIO.Dockerfile
cache_tag: docker.io/ptr727/nx-base-lsio:ubuntu-noble
tags: |
docker.io/ptr727/nx-base-lsio:ubuntu-noble

steps:

Expand Down Expand Up @@ -55,9 +57,9 @@ jobs:
context: Docker
file: ${{ matrix.base.dockerfile }}
platforms: linux/amd64,linux/arm64
tags: ${{ matrix.base.tags }}
cache-from: |
type=registry,ref=${{ matrix.base.tags }}
tags: ${{ matrix.base.tags }}
cache-from: |
type=registry,ref=${{ matrix.base.cache_tag }}
type=gha,scope=develop-base-${{ matrix.base.name }}
type=gha,scope=main-base-${{ matrix.base.name }}
${{ github.event.pull_request && format('type=gha,scope=pr-base-{0}-{1}', github.event.pull_request.number, matrix.base.name) || '' }}
Expand Down
Loading