Skip to content

Commit

Permalink
Replacing file name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Mack committed Jun 10, 2024
1 parent 399b396 commit b457f78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Pushing Feature Package
run: |
echo "oras push ${{ github.repository }}:latest --config /dev/null:application/vnd.devcontainers ./output/devcontainer-feature-k3s-on-host.tgz:application/vnd.devcontainers.layer.v1+tar"
oras push ${{ github.repository }}/$(FEATURE_NAME):latest \
oras push ${{ github.repository }}:latest \
--config /dev/null:application/vnd.devcontainers \
./output/devcontainer-feature-k3s-on-host.tgz:application/vnd.devcontainers.layer.v1+tar
sub_exit_code=${PIPESTATUS[0]}
Expand All @@ -58,10 +58,10 @@ jobs:
exit 1
fi
echo "oras push ${{ github.repository }}:latest --config /dev/null:application/vnd.devcontainers ./output/$(FEATURE_DEVCONTAINER_COLLECTION_FILE_NAME):application/vnd.devcontainers.collection.layer.v1+json"
echo "oras push ${{ github.repository }}:latest --config /dev/null:application/vnd.devcontainers ./output/devcontainer-feature-k3s-on-host.tgz:application/vnd.devcontainers.collection.layer.v1+json"
oras push ${{ github.repository }}:latest \
--config /dev/null:application/vnd.devcontainers \
./output/$(FEATURE_DEVCONTAINER_COLLECTION_FILE_NAME):application/vnd.devcontainers.collection.layer.v1+json
./output/devcontainer-feature-k3s-on-host.tgz:application/vnd.devcontainers.collection.layer.v1+json
sub_exit_code=${PIPESTATUS[0]}
if [[ $sub_exit_code -gt 0 ]]; then
echo "Previous step failed. Troubleshoot"
Expand Down

0 comments on commit b457f78

Please sign in to comment.