Skip to content

Commit

Permalink
repo must be lowercase, otherwise docker build action not working and…
Browse files Browse the repository at this point in the history
… there is no simple way to lowercase a string in github actions....
  • Loading branch information
lrlunin committed Jun 24, 2023
1 parent c3b687a commit 2c16652
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
branches: [ main ]
env:
REGISTRY: ghcr.io
REPO_NAME_LOWERCASE: mbi-div-b
IMAGE_NAME_1: mbi-div-b-notebook-base
IMAGE_NAME_2: mbi-div-b-notebook-cuda
jobs:
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
with:
context: ${{ env.IMAGE_NAME_2 }}
build-args: |
BASE_REPO=${{ github.repository_owner }}
BASE_REPO=${{ env.REPO_NAME_LOWERCASE }}
REGISTRY=${{ env.REGISTRY }}
}}
file: ${{ env.IMAGE_NAME_2 }}/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.2.1

0 comments on commit 2c16652

Please sign in to comment.