BuildX doesn't like camelcase tags
This commit is contained in:
@@ -14,7 +14,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
|
||||
- name: Convert to lowercase
|
||||
id: github_repository_to_lowercase
|
||||
uses: step-security/change-string-case-action@v6
|
||||
with:
|
||||
inputStr: ${{ github.repository }} # Replace with your variable
|
||||
# ------------------------------------------------------------------
|
||||
# 1. Checkout repository
|
||||
# ------------------------------------------------------------------
|
||||
@@ -51,9 +55,9 @@ jobs:
|
||||
# do not push yet
|
||||
push: false
|
||||
tags: |
|
||||
${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}
|
||||
${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}
|
||||
${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:latest
|
||||
${{ secrets.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.sha }}
|
||||
${{ secrets.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.ref_name }}
|
||||
${{ secrets.REGISTRY_HOST }}/${{ github.repositorysteps.github_repository_to_lowercase.outputs.lowercase }}:latest
|
||||
build-args: |
|
||||
# Add any build args here
|
||||
# ARG_NAME=VALUE
|
||||
|
||||
Reference in New Issue
Block a user