Skip to content

Commit

Permalink
change8
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkoSagadin committed Jul 4, 2024
1 parent 28b34f4 commit eaf3349
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish-simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
contents: read
packages: write

strategy:
matrix:
variant:
- zephyr_version: "v3.6.0"
mcuboot_version: "a4eda30f5b0cfd0cf15512be9dcd559239dbfc91"

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -36,13 +42,13 @@ jobs:
id: meta-ci
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ci
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.variant.zephyr_version }}-ci

- name: Extract metadata for Dev image
id: meta-dev
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-dev
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.variant.zephyr_version }}-dev

- name: Build and push CI image
id: push-ci
Expand All @@ -63,7 +69,7 @@ jobs:
uses: docker/build-push-action@v5
with:
file: Dockerfile
# file: ./vanilla-zephyr/Dockerfile.ci
# file: ./vanilla-zephyr/Dockerfile.dev
# platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-dev.outputs.tags }}
Expand Down

0 comments on commit eaf3349

Please sign in to comment.