We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31b1a64 commit 0302790Copy full SHA for 0302790
1 file changed
.github/workflows/docker-image.yml
@@ -1,4 +1,7 @@
1
name: Build Alpine Node.js
2
+permissions:
3
+ contents: read
4
+ packages: write
5
6
on:
7
workflow_dispatch:
@@ -19,6 +22,14 @@ jobs:
19
22
- name: Build the Docker image
20
23
run: |
21
24
docker build --file Dockerfile --tag alpine_nodejs:${{github.event.inputs.NodeVersion}} --build-arg NodeVersion=${{github.event.inputs.NodeVersion}} --build-arg PythonVersion=${{github.event.inputs.PythonVersion}} .
25
+ - name: Login to GitHub Container Registry
26
+ uses: docker/login-action@v1
27
+ with:
28
+ registry: ghcr.io
29
+ username: ${{ github.actor }}
30
+ password: ${{ secrets.GITHUB_TOKEN }}
31
+ - name: Debugging with tmate
32
+ uses: mxschmitt/action-tmate@v3
33
- name: Copy alpine node.js out
34
35
mkdir $RUNNER_TEMP/alpine_node
0 commit comments