Skip to content

container

container #142

Workflow file for this run

name : container
on:
# manual only
workflow_dispatch:
schedule:
- cron: "10 1 * * 0" # At 01:10 UTC on each Saturday
push:
branches:
- main
paths:
- 'toolset/**'
pull_request:
types: [ closed ]
branches:
- main
paths:
- 'toolset/**'
jobs:
build:
runs-on: self-hosted
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Login azure
run: |
az login -i
az account set -s ${{ secrets.ARM_SUBSCRIPTION_ID }}
echo "local user: $(whoami)"
# - name: 'Login via Azure CLI'
# uses: azure/login@v1
# with:
# creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: 'ACR Login'
uses: azure/docker-login@v2
with:
login-server: azhop.azurecr.io
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build the HPC Rover
run: |
./toolset/build_container.sh github azhop.azurecr.io