Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [try-containers]
30 changes: 28 additions & 2 deletions .github/workflows/containers-testflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,14 @@ jobs:
echo "KEYCHAIN_PATH=${RUNNER_TEMP}/signing.keychain-db" >> "${GITHUB_ENV}"
echo "API_KEY_PATH=${RUNNER_TEMP}/AuthKey.p8" >> "${GITHUB_ENV}"
echo "ARCHIVE_PATH=${RUNNER_TEMP}/Containers.xcarchive" >> "${GITHUB_ENV}"
echo "PROFILES_PATH=${HOME}/Library/Developer/Xcode/UserData/Provisioning Profiles" >> "${GITHUB_ENV}"

- name: Show Xcode version
run: xcodebuild -version

# The archive is signed to run locally, so only the export needs certificates:
# Apple Distribution for the app and Mac Installer Distribution for its package.
# Apple Distribution for the app and Mac Installer Distribution (named
# 3rd Party Mac Developer Installer in the keychain) for its package.
- name: Install signing certificates
env:
SIGNING_CERTIFICATES_P12: ${{ secrets.SIGNING_CERTIFICATES_P12 }}
Expand All @@ -107,6 +109,20 @@ jobs:
security list-keychains -d user -s "${KEYCHAIN_PATH}" $(security list-keychains -d user | tr -d '"')
rm "${CERTIFICATES_PATH}"

# Signing with an App Store Connect API key uses cloud signing unless the export
# is signed manually, which needs the app's Mac App Store provisioning profile.
- name: Install provisioning profile
env:
MAC_APP_STORE_PROVISIONING_PROFILE: ${{ secrets.MAC_APP_STORE_PROVISIONING_PROFILE }}
run: |
PROFILE_PATH="${RUNNER_TEMP}/profile.provisionprofile"
echo -n "${MAC_APP_STORE_PROVISIONING_PROFILE}" | base64 --decode > "${PROFILE_PATH}"
PROFILE_UUID=$(security cms -D -i "${PROFILE_PATH}" | plutil -extract UUID raw -)

mkdir -p "${PROFILES_PATH}"
mv "${PROFILE_PATH}" "${PROFILES_PATH}/${PROFILE_UUID}.provisionprofile"
echo "PROFILE_UUID=${PROFILE_UUID}" >> "${GITHUB_ENV}"

- name: Install App Store Connect API key
env:
APP_STORE_CONNECT_PRIVATE_KEY: ${{ secrets.APP_STORE_CONNECT_PRIVATE_KEY }}
Expand Down Expand Up @@ -173,7 +189,16 @@ jobs:
<key>teamID</key>
<string>${DEVELOPMENT_TEAM}</string>
<key>signingStyle</key>
<string>automatic</string>
<string>manual</string>
<key>signingCertificate</key>
<string>Apple Distribution</string>
<key>installerSigningCertificate</key>
<string>3rd Party Mac Developer Installer</string>
<key>provisioningProfiles</key>
<dict>
<key>app.containers.Containers</key>
<string>${PROFILE_UUID}</string>
</dict>
<key>manageAppVersionAndBuildNumber</key>
<false/>
<key>uploadSymbols</key>
Expand All @@ -197,6 +222,7 @@ jobs:
run: |
security delete-keychain "${KEYCHAIN_PATH}" || true
rm -f "${API_KEY_PATH}"
rm -f "${PROFILES_PATH}/${PROFILE_UUID}.provisionprofile"

# The notes are written by hand in the draft, with the pull requests for each
# change. Publish release publishes it once the version is live.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<ul>
<li><a href="https://github.com/try-containers/Containers/blob/main/PRIVACY_POLICY.md">Privacy Policy</a></li>
<li><a href="https://github.com/try-containers/Containers/blob/main/LICENSE.md">License</a></li>
<li><a href="https://www.buymeacoffee.com/armartinez">Buy Me a Coffee</a></li>
<li><a href="https://github.com/sponsors/try-containers">Sponsor</a></li>
</ul>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Download Containers from the [Mac App Store](). On first launch it sets up the c

This is a community-led effort, so we welcome as many contributors who can help.

<a href="https://www.buymeacoffee.com/armartinez" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-blue.png" alt="Buy Me A Coffee" height="41" width="174"></a>
To support the project, [sponsor it on GitHub](https://github.com/sponsors/try-containers).

## Development

Expand Down
Loading