Skip to content

Commit 9954024

Browse files
committed
fix container image name checks
1 parent dfcd66d commit 9954024

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/actions/environment/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
# Android SDK Tools are arm64-incompatible
1515
# Android SDK Build Tools are musl-incompatible
1616
- name: Set Environment Variables for Alpine Linux
17-
if: ${{ (runner.os == 'Linux' && runner.arch == 'ARM64') || contains(matrix.container, 'alpine') }}
17+
if: ${{ (runner.os == 'Linux' && runner.arch == 'ARM64') || contains(matrix.container.image, 'alpine') }}
1818
shell: bash
1919
run: echo "NO_MOBILE=true" >> $GITHUB_ENV
2020

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ on:
1111

1212
jobs:
1313
build-sentry-native:
14-
name: sentry-native (${{ matrix.container || matrix.os }})
14+
name: sentry-native (${{ matrix.container.image || matrix.os }})
1515
runs-on: ${{ matrix.os }}
16-
container: ${{ matrix.container }}
16+
container: ${{ matrix.container.image }}
1717
strategy:
1818
fail-fast: false
1919
matrix:
@@ -23,7 +23,8 @@ jobs:
2323
target: Linux-arm64
2424
- os: ubuntu-latest
2525
target: Linux-musl
26-
container: ghcr.io/getsentry/sentry-dotnet-alpine:3.21
26+
container:
27+
image: ghcr.io/getsentry/sentry-dotnet-alpine:3.21
2728
- os: macos-15 # Pin macos to get the version of Xcode that we need: https://github.com/actions/runner-images/issues/10703
2829
- os: windows-latest
2930
- os: windows-11-arm

0 commit comments

Comments
 (0)