Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix artifact name

Amruth Pillaicba2eda5d011
diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml
index 729a53dfc..a89d68ae5 100644
--- a/.github/workflows/publish-docker-image.yml
+++ b/.github/workflows/publish-docker-image.yml
@@ -63,6 +63,12 @@ jobs:
${{ env.IMAGE }}
ghcr.io/${{ env.IMAGE }}
+ - name: Prepare a unique name for Artifacts
+ id: artifact_name
+ run: |
+ name=$(echo -n "${{ matrix.platform }}" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g')
+ echo "name=$name" >> "$GITHUB_OUTPUT"
+
- name: Build and Push by Digest
uses: docker/[email protected]
id: build
@@ -83,7 +89,7 @@ jobs:
- name: Upload Digest
uses: actions/[email protected]
with:
- name: digests-${{ matrix.platform }}
+ name: digests-${{ steps.artifact_name.outputs.name }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1