Skip to content

Commit c84f84a

Browse files
authored
Update main.yml
1 parent 5e48736 commit c84f84a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,14 @@ jobs:
5353
shell: pwsh
5454

5555
steps:
56-
- name: Log in to GHCR
57-
run: echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u $env:GITHUB_ACTOR --password-stdin
58-
5956
- name: Pull Image
6057
run: docker pull "${{ needs.build-and-push.outputs.image_tagged }}"
6158

6259
- name: Run Container
63-
run: docker run --entrypoint ${{ env.entry }} --isolation process -di --name orphan "${{ needs.build-and-push.outputs.image_tagged }}" ${{ env.cmd }}
60+
run: docker run --entrypoint cmd --isolation process -di --name orphan "${{ needs.build-and-push.outputs.image_tagged }}" ${{ env.cmd }}
6461

6562
- name: Inspect Container
6663
run: docker inspect orphan
6764

6865
- name: Container – Inspect Godbolt Dist
69-
run: docker exec orphan ${{ env.entry }} ${{ env.cmd }} -Command node --import=tsx --no-warnings=ExperimentalWarning ./app.js --version --dist
66+
run: docker exec orphan cmd /c node --import=tsx --no-warnings=ExperimentalWarning ./app.js --version --dist

0 commit comments

Comments
 (0)