File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM alpine:3
2+ ENTRYPOINT ["sh" , "-c" , "id && touch /github/workspace/written-by-container && ls -ln /github/workspace | head -5" ]
Original file line number Diff line number Diff line change 1+ name : Probe docker container action
2+ description : Writes a file into the workspace as the container user.
3+ runs :
4+ using : docker
5+ image : Dockerfile
Original file line number Diff line number Diff line change 1+ name : Probe release runners
2+
3+ on :
4+ push :
5+ branches : [probe/release-runners]
6+
7+ permissions : {}
8+
9+ jobs :
10+ docker-action :
11+ name : docker container actions (2x4)
12+ runs-on : nscloud-ubuntu-24.04-amd64-2x4
13+ timeout-minutes : 10
14+ steps :
15+ - uses : actions/checkout@v7
16+ with :
17+ persist-credentials : false
18+ - name : Local Dockerfile action writing into the workspace
19+ uses : ./.github/probe-docker
20+ - name : Reclaim the container's file
21+ run : |
22+ set -euo pipefail
23+ ls -ln written-by-container
24+ sudo chown "$(id -u):$(id -g)" written-by-container
25+ echo ok >> written-by-container
26+ ls -ln written-by-container
27+ - name : The pinned Crowdin action
28+ id : crowdin
29+ uses : crowdin/github-action@8f01d54f70f1713ee3f09d82c2bbb2daeac28689 # v2.17.1
30+ with :
31+ command : --version
32+ - name : Crowdin action output
33+ env :
34+ OUT : ${{ steps.crowdin.outputs.command_output }}
35+ run : test -n "$OUT" && echo "$OUT"
You can’t perform that action at this time.
0 commit comments