No fromJSON.

This commit is contained in:
Nicolas Patry 2024-06-07 23:22:48 +02:00
parent 98d383062a
commit fa3e811672
No known key found for this signature in database
GPG Key ID: 690EBED7128A9DC8

View File

@ -32,9 +32,9 @@ jobs:
security-events: write security-events: write
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Initialize Docker Buildx - name: Initialize Docker Buildx
uses: docker/setup-buildx-action@v2.0.0 uses: docker/setup-buildx-action@v3
with: with:
install: true install: true
- name: Inject slug/short variables - name: Inject slug/short variables
@ -99,7 +99,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
if: ${{ github.event_name == 'pull_request' }} if: ${{ github.event_name == 'pull_request' }}
id: meta-pr id: meta-pr
uses: docker/metadata-action@v4.3.0 uses: docker/metadata-action@v5
with: with:
images: | images: |
registry.internal.huggingface.tech/api-inference/community/text-generation-inference registry.internal.huggingface.tech/api-inference/community/text-generation-inference
@ -149,7 +149,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.job }}-${{ needs.build-and-push.outputs.label }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.job }}-${{ needs.build-and-push.outputs.label }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true cancel-in-progress: true
needs: build-and-push needs: build-and-push
runs-on: ${{fromJson(needs.build-and-push.outputs.runs_on)}} runs-on: ${{ needs.build-and-push.outputs.runs_on }}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4