Skip to content

Commit

Permalink
build lcli on self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
antondlr committed Mar 25, 2024
1 parent 5855387 commit 14eb696
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
${IMAGE_NAME}:${VERSION}-amd64${VERSION_SUFFIX}${{ matrix.modernity }};
build-docker-lcli:
runs-on: ubuntu-22.04
runs-on: ${{ github.repository == 'antondlr/lighthouse' && fromJson('["self-hosted", "linux", "release"]') || 'ubuntu-22.04' }}
needs: [extract-version]
strategy:
matrix:
Expand All @@ -159,8 +159,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: env.SELF_HOSTED_RUNNERS == 'false'
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
if: env.SELF_HOSTED_RUNNERS == 'false'
uses: docker/setup-buildx-action@v3
- name: Dockerhub login
run: |
Expand Down

0 comments on commit 14eb696

Please sign in to comment.