You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run a github workflow that uses powershell (pwsh). It is my understanding that the medium image does not contain this tool. I am trying to run the job with an explicit image like so:
but I get a bunch of errors that I can't quite comprehend:
WARN[0000] Could not find any stages to run. View the valid jobs with `act --list`. Use `act --help` to find how to filter by Job ID/Workflow/Event Name
WARN[0000] Could not find any stages to run. View the valid jobs with `act --list`. Use `act --help` to find how to filter by Job ID/Workflow/Event Name
[ci2/linux-clang] 🚀 Start image=catthehacker/ubuntu:full-latest
INFO[0000] Parallel tasks (0) below minimum, setting to 1
[ci2/linux-clang] 🐳 docker pull image=catthehacker/ubuntu:full-latest platform= username= forcePull=true
[ci2/linux-clang] using DockerAuthConfig authentication for docker pull
[ci2/linux-clang] pulling image 'docker.io/catthehacker/ubuntu:full-latest' () failed with credentials Error response from daemon: Head "https://registry-1.docker.io/v2/catthehacker/ubuntu/manifests/full-latest": unauthorized: incorrect username or password retrying without them, please check for stale docker config files
For reference, this is the full workflow:
name: ci2
run-name: PR Check run by ${{ github.actor }}
on:
workflow_dispatch: # allow manual runs
jobs:
linux-clang:
runs-on: [ubuntu-latest, self-hosted]
steps:
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- name: get cmake and ninja
uses: lukka/[email protected]
with:
cmakeVersion: 3.27.0
ninjaVersion: 1.11.1
useLocalCache: true # <--= Use the local cache (default is 'false').
useCloudCache: false # <--= Ditch the cloud cache (default is 'true').
- name: get vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: '9f03078bdcbab3ad8c1e3927c40c3fb48e42501f'
# This is the default location of the directory containing vcpkg sources.
# Change it to the right location if needed.
# vcpkgDirectory: '${{ github.workspace }}/vcpkg'
- name: checkout code
uses: actions/checkout@v4
with:
lfs: 'true' # when cloning / checkout, do so with git lfs tracked files?
- name: Checkout LFS objects
run: git lfs checkout # as per https://stackoverflow.com/questions/61463578/github-actions-actions-checkoutv2-lfs-true-flag-not-converting-pointers-to-act
The tool then hangs indefinitely. Any idea how to troubleshoot this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to run a github workflow that uses powershell (pwsh). It is my understanding that the medium image does not contain this tool. I am trying to run the job with an explicit image like so:
but I get a bunch of errors that I can't quite comprehend:
For reference, this is the full workflow:
The tool then hangs indefinitely. Any idea how to troubleshoot this?
Beta Was this translation helpful? Give feedback.
All reactions