Skip to content

Commit 360bc54

Browse files
authored
Merge pull request #343 from rees46/feat/php-docker-build-arg
feat(php): Fix `APP_BUILD_VERSION` tag (part 3)
2 parents a61fe5a + 733c9df commit 360bc54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/reusable-php-docker-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
8888
IMAGE_NAME=ghcr.io/$REPOSITORY_OWNER/$PACKAGE_NAME:${{ steps.tags.outputs.tagPrefix }}$(git rev-parse --short HEAD)-$(date +%s)
8989
IMAGE_NAME_LATEST=ghcr.io/$REPOSITORY_OWNER/$PACKAGE_NAME:${{ steps.tags.outputs.tagSuffix }}
90-
IMAGE_VERSION=${{ steps.tags.outputs.tagPrefix }}
90+
IMAGE_VERSION=${{ steps.tags.outputs.tagPrefix }}$(git rev-parse --short HEAD)-$(date +%s)
9191
9292
echo "📦 ${IMAGE_NAME} → ${IMAGE_NAME_LATEST}"
9393
@@ -121,7 +121,7 @@ jobs:
121121
122122
IMAGE_NAME=ghcr.io/$REPOSITORY_OWNER/$package:${{ steps.tags.outputs.tagPrefix }}$(git rev-parse --short HEAD)-$(date +%s)
123123
IMAGE_NAME_LATEST=ghcr.io/$REPOSITORY_OWNER/$package:${{ steps.tags.outputs.tagSuffix }}
124-
IMAGE_VERSION=${{ steps.tags.outputs.tagPrefix }}
124+
IMAGE_VERSION=${{ steps.tags.outputs.tagPrefix }}$(git rev-parse --short HEAD)-$(date +%s)
125125
126126
echo "📦 ${IMAGE_NAME} → ${IMAGE_NAME_LATEST}"
127127

0 commit comments

Comments
 (0)