fix: workflow fail caused by uppercase of image name

This commit is contained in:
Nya Candy
2026-07-05 23:18:01 +08:00
parent 025045e4af
commit 3fdd2eaf1c
+4 -3
View File
@@ -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