Skip to content

Commit

Permalink
fix: resolve permissions issue and artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Oct 18, 2023
1 parent 37c3737 commit 5b5be3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-preset-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
setup:
runs-on: self-hosted
outputs:
IMG_TAG: ${{ steps.set_final_tag.outputs.image_tag }}
IMG_TAG: ${{ steps.set_final_tag.outputs.IMG_TAG }}
steps:
- name: Determine tag from dispatch
if: github.event_name == 'workflow_dispatch'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/preset-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,12 @@ jobs:
run: |
echo "image_tag for this job: ${{ steps.set_tag.outputs.image_tag }}"
- name: Save registry and tag as an artifact for other workflows that run on workflow_run to download them
- name: Save registry and tag as an artifact for other workflows
run: |
sudo mkdir -p /tmp/artifacts
echo ${{ steps.set_tag.outputs.image_tag }} | sudo tee /tmp/artifacts/tag.txt
sudo cat /tmp/artifacts/tag.txt
sudo chmod 777 /tmp/artifacts
echo ${{ steps.set_tag.outputs.image_tag }} >> /tmp/artifacts/tag.txt
cat /tmp/artifacts/tag.txt
- name: Upload image tag as artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 5b5be3a

Please sign in to comment.