Skip to content

Commit

Permalink
fix saved docker
Browse files Browse the repository at this point in the history
  • Loading branch information
liviodonnini committed Oct 15, 2024
1 parent 02ba446 commit a4c9fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/.github-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Save Docker Image as tar.gz
run: |
tag="${docker_image_application}:${docker_image_version}"
docker save "${{ secrets.CR_REGISTRY }}/${{ secrets.CR_REPO }}/${tag}" -o "${docker_image_application}_${docker_image_version}.tar"
docker save "${tag}" -o "${docker_image_application}_${docker_image_version}.tar"
tar -czf "${docker_image_application}_${docker_image_version}.tar.gz" "${docker_image_application}_${docker_image_version}.tar"
# Step 8: Upload Docker Image tar.gz as an artifact
Expand Down

0 comments on commit a4c9fa1

Please sign in to comment.