Skip to content

Instantly share code, notes, and snippets.

View chinloyal's full-sized avatar
👨‍💻
Currently Coding

Chinloyal chinloyal

👨‍💻
Currently Coding
View GitHub Profile
- run:
name: make Provisioning Profiles directory
command: mkdir -pv ~/Library/MobileDevice/Provisioning\ Profiles/
- run:
name: Install Provisioning Profiles
context: org-global
command: |
cp ~/repo/provisioningprofiles/* ~/Library/MobileDevice/Provisioning\ Profiles/
sudo chown distiller:staff ~/Library/MobileDevice/Provisioning\ Profiles/*
- run:
name: Install Certificates
context: org-global
command: |
security create-keychain -p default MyKeychain.keychain
security set-keychain-settings MyKeychain.keychain
security unlock-keychain -p default MyKeychain.keychain
security import ~/cert.p12 -x -t agg -k MyKeychain.keychain -A -P ""
security set-keychain-settings -lut 7200 MyKeychain.keychain
security list-keychains -d user -s MyKeychain.keychain $(security list-keychains -d user | sed s/\"//g)
@florentchauveau
florentchauveau / .gitlab-ci.yml
Last active March 30, 2024 05:21
GitLab CI yaml file for building docker images
# This is a GitLab CI configuration to build the project as a docker image
# The file is generic enough to be dropped in a project containing a working Dockerfile
# Author: Florent CHAUVEAU <florent.chauveau@gmail.com>
# Mentioned here: https://blog.callr.tech/building-docker-images-with-gitlab-ci-best-practices/
# do not use "latest" here, if you want this to work in the future
image: docker:20
stages:
- build