sha as tag

This commit is contained in:
Krivopolenov, Artemiy
2026-01-19 19:21:25 +01:00
parent 038c42dff7
commit e6d69f59e8
2 changed files with 6 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ on:
env:
REGISTRY_HOST: git.dwal.in
IMAGE_NAME: zola-pwsh-s3
IMAGE_TAG: v2 # Increment this when you rebuild the container to bypass cache
TEMPLATES_REPO_URL: ${{ vars.TEMPLATES_REPO_URL }}
SCRIPTS_REPO_URL: ${{ vars.SCRIPTS_REPO_URL }}
S3_ENDPOINT: ${{ vars.S3_ENDPOINT }}
@@ -40,7 +41,9 @@ jobs:
# Use custom container with PowerShell, Zola, AWS CLI, Git pre-installed
# Built by build-container.yaml workflow from integrations/gitea/Dockerfile
container:
image: ${{ env.REGISTRY_HOST }}/${{ gitea.repository }}/${{ env.IMAGE_NAME }}:latest
# Using version tag to bypass cache issues
# Increment IMAGE_TAG in env when rebuilding container
image: ${{ env.REGISTRY_HOST }}/${{ gitea.repository }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
credentials:
username: ${{ gitea.actor }}
password: ${{ secrets.CONTAINER_TOKEN }}