More copy pasta
Build & Push Docker image / build-and-push (push) Failing after 1m50s
ci / build_linux (push) Failing after 1m56s

This commit is contained in:
2025-11-07 21:57:44 +10:30
parent 4eb8324056
commit 7c6fba9b3f
2 changed files with 8 additions and 8 deletions
+7 -7
View File
@@ -18,7 +18,7 @@ jobs:
id: github_repository_to_lowercase
run: |
# Grab the value (you can also use `${{ github.ref }}`, `${{ secrets.MY_SECRET }}`, etc.)
raw_value="${{ env.MY_VAR }}"
raw_value="${{ github.repository }}"
# Convert to lower case
lower_value=$(echo "$raw_value" | tr '[:upper:]' '[:lower:]')
# Export it to the workflow environment
@@ -78,9 +78,9 @@ jobs:
file: Dockerfile
push: true
tags: |
${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}
${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}
${{ vars.REGISTRY_HOST }}/${{ github.repository }}:latest
${{ vars.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.sha }}
${{ vars.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.ref_name }}
${{ vars.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:latest
# ------------------------------------------------------------------
# 6. (Optional) Clean up local Docker cache
@@ -95,6 +95,6 @@ jobs:
- name: Show pushed image tags
run: |
echo "Pushed image tags:"
echo "- ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}"
echo "- ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}"
echo "- ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:latest"
echo "- ${{ vars.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.sha }}"
echo "- ${{ vars.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.ref_name }}"
echo "- ${{ vars.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:latest"
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
id: github_repository_to_lowercase
run: |
# Grab the value (you can also use `${{ github.ref }}`, `${{ secrets.MY_SECRET }}`, etc.)
raw_value="${{ env.MY_VAR }}"
raw_value="${{ github.repository }}"
# Convert to lower case
lower_value=$(echo "$raw_value" | tr '[:upper:]' '[:lower:]')
# Export it to the workflow environment