1
0
mirror of https://github.com/XFox111/easylogon-web.git synced 2026-07-02 19:52:45 +03:00

feat: add package version to docker tag

This commit is contained in:
2025-03-26 16:53:33 +00:00
parent 8a5dbc6670
commit cb8910b37d
+7 -1
View File
@@ -39,6 +39,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: zoexx/github-action-json-file-properties@release
id: package_json
with:
file_path: "package.json"
- uses: docker/metadata-action@v5
id: meta
with:
@@ -47,7 +52,8 @@ jobs:
ghcr.io/${{ github.repository }}
tags: |
latest
${{ github.sha }}
${{steps.package_json.outputs.version}}
${{steps.package_json.outputs.version}}-${{ github.sha }}
- name: "Login to Docker Hub"
if: github.event_name != 'pull_request' || github.event.inputs.push == 'true'