fix: workflow fail caused by uppercase of image name
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Docker Hub Release
|
name: Docker Hub & GHCR Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -15,6 +15,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY_IMAGE: diocrafts/oxicloud
|
REGISTRY_IMAGE: diocrafts/oxicloud
|
||||||
|
GHCR_REGISTRY_IMAGE: ghcr.io/atalayalabs/oxicloud
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Run tests before publishing
|
# Run tests before publishing
|
||||||
@@ -112,8 +113,8 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
${{ env.REGISTRY_IMAGE }}:${{ env.VERSION }}
|
${{ env.REGISTRY_IMAGE }}:${{ env.VERSION }}
|
||||||
${{ env.REGISTRY_IMAGE }}:latest
|
${{ env.REGISTRY_IMAGE }}:latest
|
||||||
ghcr.io/${{ github.repository }}:${{ env.VERSION }}
|
${{ env.GHCR_REGISTRY_IMAGE }}:${{ env.VERSION }}
|
||||||
ghcr.io/${{ github.repository }}:latest
|
${{ env.GHCR_REGISTRY_IMAGE }}:latest
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
# GitHub Actions env piped through so build.rs stamps
|
# GitHub Actions env piped through so build.rs stamps
|
||||||
|
|||||||
Reference in New Issue
Block a user