Vars instead of env
This commit is contained in:
@@ -61,9 +61,9 @@ jobs:
|
||||
# do not push yet
|
||||
push: false
|
||||
tags: |
|
||||
${{ env.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.sha }}
|
||||
${{ env.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.ref_name }}
|
||||
${{ env.REGISTRY_HOST }}/${{ github.repositorysteps.github_repository_to_lowercase.outputs.lowercase }}: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 }}/${{ github.repositorysteps.github_repository_to_lowercase.outputs.lowercase }}:latest
|
||||
build-args: |
|
||||
# Add any build args here
|
||||
# ARG_NAME=VALUE
|
||||
@@ -78,9 +78,9 @@ jobs:
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}
|
||||
${{ env.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}
|
||||
${{ env.REGISTRY_HOST }}/${{ github.repository }}:latest
|
||||
${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}
|
||||
${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}
|
||||
${{ vars.REGISTRY_HOST }}/${{ github.repository }}:latest
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# 6. (Optional) Clean up local Docker cache
|
||||
@@ -95,6 +95,6 @@ jobs:
|
||||
- name: Show pushed image tags
|
||||
run: |
|
||||
echo "Pushed image tags:"
|
||||
echo "- ${{ env.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}"
|
||||
echo "- ${{ env.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}"
|
||||
echo "- ${{ env.REGISTRY_HOST }}/${{ github.repository }}:latest"
|
||||
echo "- ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}"
|
||||
echo "- ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}"
|
||||
echo "- ${{ vars.REGISTRY_HOST }}/${{ github.repository }}:latest"
|
||||
@@ -33,9 +33,9 @@ jobs:
|
||||
# do not push yet
|
||||
push: false
|
||||
tags: |
|
||||
${{ env.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.sha }}
|
||||
${{ env.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}:${{ github.ref_name }}
|
||||
${{ env.REGISTRY_HOST }}/${{ steps.github_repository_to_lowercase.outputs.lowercase }}: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
|
||||
build-args: |
|
||||
# Add any build args here
|
||||
# ARG_NAME=VALUE
|
||||
Reference in New Issue
Block a user