revert build

This commit is contained in:
OlivierDehaene 2023-04-19 20:00:19 +02:00
parent 521f6203d1
commit 3652d82fd7

View File

@ -66,7 +66,7 @@ jobs:
password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }} password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }}
registry: registry.internal.huggingface.tech registry: registry.internal.huggingface.tech
- name: Login to Azure Container Registry - name: Login to Azure Container Registry
# if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v2.1.0 uses: docker/login-action@v2.1.0
with: with:
username: ${{ secrets.AZURE_DOCKER_USERNAME }} username: ${{ secrets.AZURE_DOCKER_USERNAME }}
@ -80,8 +80,8 @@ jobs:
latest=auto latest=auto
images: | images: |
registry.internal.huggingface.tech/api-inference/community/text-generation-inference registry.internal.huggingface.tech/api-inference/community/text-generation-inference
# ghcr.io/huggingface/text-generation-inference ghcr.io/huggingface/text-generation-inference
# db4c2190dd824d1f950f5d1555fbadf0.azurecr.io/text-generation-inference db4c2190dd824d1f950f5d1555fbadf0.azurecr.io/text-generation-inference
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
@ -93,8 +93,7 @@ jobs:
with: with:
context: . context: .
file: Dockerfile file: Dockerfile
# push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
push: true
platforms: 'linux/amd64' platforms: 'linux/amd64'
build-args: | build-args: |
GIT_SHA={{ env.GITHUB_SHA }} GIT_SHA={{ env.GITHUB_SHA }}