Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,25 +190,15 @@ jobs:
with:
path: frontend

- name: 🏷️ Generate Tag
id: generate_tag
run: echo "TAG_WEB=${{ steps.ocv-web.outputs.current-version }}" >> $GITHUB_ENV

- name: 🏷️ Print Tag
run: echo $TAG_WEB

- name: Conditionally Set Tag
- name: 🏷️ Conditionally Set Tag
id: set_tag
run: |
if [[ "${{ matrix.configuration.build_configuration }}" == "staging" ]]; then
echo "FINAL_TAG=staging-${TAG_WEB}" >> $GITHUB_ENV
echo "FINAL_TAG=staging-${{ steps.ocv-web.outputs.current-version }}" >> $GITHUB_ENV
else
echo "FINAL_TAG=${{ steps.meta.outputs.version }}" >> $GITHUB_ENV
fi

- name: 🏷️ Print Final Tag
run: echo $FINAL_TAG

- name: Download digests
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -245,6 +235,9 @@ jobs:
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_FRONTEND_IMAGE }}@sha256:%s ' *)
# Push the new image tag
docker buildx imagetools create --tag ${{ env.REGISTRY_FRONTEND_IMAGE }}:${{ env.FINAL_TAG }} \
$(printf '${{ env.REGISTRY_FRONTEND_IMAGE }}@sha256:%s ' *)

- name: Inspect image
run: |
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "0.8.7",
"version": "0.8.8",
"scripts": {
"install:deps": "npm install",
"start": "npm install && ng serve --configuration local --open",
Expand Down
Loading