Skip to content

Commit

Permalink
reusable_docker_pipeline: upload artifact to include image-name (#31)
Browse files Browse the repository at this point in the history
* Update reusable_docker_pipeline.yml

* Update CHANGELOG.md
  • Loading branch information
maiquanghiep authored Dec 5, 2024
1 parent b612697 commit 8d9710b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/reusable_docker_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
if: inputs.publish
uses: actions/upload-artifact@v4
with:
name: digests-dockerhub-${{ env.PLATFORM_PAIR }}
name: digests-dockerhub-${{ needs.prepare-metadata.outputs.image-name }}-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/dockerhub/*
if-no-files-found: error
retention-days: 1
Expand All @@ -188,7 +188,7 @@ jobs:
if: inputs.publish
uses: actions/upload-artifact@v4
with:
name: digests-ecr-${{ env.PLATFORM_PAIR }}
name: digests-ecr-${{ needs.prepare-metadata.outputs.image-name }}-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/ecr/*
if-no-files-found: error
retention-days: 1
Expand All @@ -206,7 +206,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: /tmp/digests
pattern: digests-dockerhub-*
pattern: digests-dockerhub-${{ needs.prepare-metadata.outputs.image-name }}-*
merge-multiple: true

- name: Set up Docker Buildx
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: /tmp/digests
pattern: digests-ecr-*
pattern: digests-ecr-${{ needs.prepare-metadata.outputs.image-name }}-*
merge-multiple: true

- name: Set up Docker Buildx
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.11.2

- reusable_docker_pipeline: Fix bug where a repo has both docker build workflow runs at the same time

## 0.11.1

- Bugfix: reusable_node_lint_test: Use changesets action to create pull request for release
Expand Down

0 comments on commit 8d9710b

Please sign in to comment.