-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1.19 KB
/
release.yaml
File metadata and controls
36 lines (32 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
name: Release
on:
push:
branches:
- main
# Permissions for the GITHUB_TOKEN used by the workflow.
permissions:
contents: read # Allows reading the content of the repository.
packages: read # Allows reading the content of the repository's packages.
id-token: write
jobs:
publish:
permissions:
contents: write # Allows writing the content of the repository.
packages: write # Allows writing the content of the repository's packages.
id-token: write
strategy:
matrix:
flavor: [registry1]
architecture: [amd64, arm64]
exclude:
- flavor: registry1
architecture: arm64
uses: defenseunicorns/uds-common/.github/workflows/callable-publish.yaml@730d22c6e061153d525a6d6f932e108ae952bd46 # v1.23.0
with:
flavor: ${{ matrix.flavor }}
options: --set BASE_REPO="ghcr.io/uds-packages"
runsOn: ${{ matrix.architecture == 'arm64' && 'appstore-8-core-arm64' || 'appstore-8-core-amd64' }}
uds-releaser: true
secrets: inherit # Inherits all secrets from the parent workflow.