forked from molecule-ai/molecule-core
Merge pull request #1001 from Molecule-AI/ci/promote-latest-self-hosted
ci(promote-latest): run on self-hosted mac mini
This commit is contained in:
commit
37cc0a004c
12
.github/workflows/promote-latest.yml
vendored
12
.github/workflows/promote-latest.yml
vendored
@ -32,12 +32,16 @@ env:
|
||||
|
||||
jobs:
|
||||
promote:
|
||||
runs-on: ubuntu-latest
|
||||
# Self-hosted mac mini — GitHub-hosted minutes are currently quota-
|
||||
# blocked. mac mini already has crane available via homebrew.
|
||||
runs-on: [self-hosted, macos, arm64]
|
||||
steps:
|
||||
- name: Install crane
|
||||
- name: Ensure crane installed
|
||||
run: |
|
||||
curl -fsSL https://github.com/google/go-containerregistry/releases/download/v0.20.2/go-containerregistry_Linux_x86_64.tar.gz \
|
||||
| tar xz -C /usr/local/bin crane
|
||||
if ! command -v crane >/dev/null 2>&1; then
|
||||
brew install crane
|
||||
fi
|
||||
crane version
|
||||
|
||||
- name: GHCR login
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user