Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Successful in 54s
Build Hugo / deploy-to-gimli-blog (push) Has been cancelled
Build Hugo / deploy-to-rpic (push) Has been cancelled

This commit is contained in:
2026-03-06 00:39:57 +00:00
parent e9bcafb64b
commit 83ca9b61b8
+4 -4
View File
@@ -6,7 +6,7 @@ on:
env: env:
REGISTRY: tea.ahmza.com REGISTRY: tea.ahmza.com
IMAGE_NAME: ${{ github.repository }} IMAGE_NAME: ${{ gitea.repository }}
jobs: jobs:
build: build:
@@ -22,7 +22,7 @@ jobs:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Login to GitHub Container Registry - name: Login to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
@@ -44,8 +44,8 @@ jobs:
build-args: | build-args: |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=true BUILDKIT_CONTEXT_KEEP_GIT_DIR=true
tags: | tags: |
ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:latest ${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:latest
ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:${{ github.event.head_commit.id }} ${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:${{ gitea.event.head_commit.id }}
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
deploy-to-rpic: deploy-to-rpic: