mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix tag for repositorys containing uppercase
This commit is contained in:
parent
05b8de5300
commit
f99671b764
7
.github/workflows/build-container.yml
vendored
7
.github/workflows/build-container.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'development'
|
- 'development'
|
||||||
|
- 'fix-build-container-action'
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
@ -15,6 +16,10 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: prepare docker-tag
|
||||||
|
env:
|
||||||
|
repository: ${{ github.repository }}
|
||||||
|
run: echo "dockertag=${repository,,}" >> $GITHUB_ENV
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
@ -34,6 +39,6 @@ jobs:
|
|||||||
file: docker-build/Dockerfile
|
file: docker-build/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: false
|
push: false
|
||||||
tags: ${{ github.repository }}:latest
|
tags: ${{ env.dockertag }}:latest
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user